Hi John,

I assume it's turned off by default: backwards compatibity is a wonderful thing.

PaulS :)

> Hi...
> 
> I patched my version of Hibernate with a feature that I think is useful,
> but before I committed it I wanted make sure everyone agrees with what I
> have done and if we should make this feature configurable, etc...
> 
> Normally if you open a session, load or find some object, then close the
> session you will be unable to access the objects with a many-to-one
> relation if it is setup to use lazy initialization.
> 
> I modified the LazyInitializer so that instead of throwing an exception
> because the session is closed, it will open a new connection and
> reconnect the session if the session, do the find, and the close the
> session again...  This way I only have to load the objects I really need
> at runtime, and I don't need to worry about managing the session.
> 
> If anyone has any comments on this kind of functionality, then I would
> definately like to hear them.
> 
> Thanks,
> Jon...
> 





---------------------------------------------
This message was sent using Vianet's Web Based Emailer.
http://www.vianet.net.au



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to