I found some interesting info about lazy loading in the Hibernate forum:






One of the comments:




Quote:
dirkschmidt wrote:

The problem I have with Hibernates lazy object approach is that the proxies 
become useless as soon as the are detached from the initial session.





Just reattach the parent object to a new session using session.lock(obj, 
LockMode.NONE), then initialize the proxy.
(end of quote)

_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3030#3030
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to