Would that be possible to add lazy initialization to components or
one-to-one elements?

I'm looking for functionality similiar to that in JAWS (JBoss) that allowed
for mapping certain group of properties to initialize lazily.

In my cases I have classes describing images. I used blobs for storing their
binary data, but since blobs are so diffcult to handle consistently, I'm
considering 'binary'. But that also means that for every object I have to
carry that data no matter if database driver could handle them smartly as
blobs.

The fact about those image classes is also that binary data is used pretty
rarely, say once a thousand accesses.

So the idea would be to lazy initialize the binary data. Of course it would
be hard to do for a single property, but it could be possible if property
was wrapped in a component.

Regards,
-- Mike



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to