As Fabio stated, this has been discussed before. I had the same "issue".
Here's the thread http://groups.google.com/group/nhusers/browse_thread/thread/7b2c12e02bb604c4/3cc9cdef8cd1a7fb?hl=en&lnk=gst /Roger -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of FrederikGheysels Sent: den 7 november 2008 16:30 To: nhusers Subject: [nhusers] Re: Transparant Lazy Loading in Long Sessions I must be doing something wrong I think. I've left the connection release mode to the default setting. I do this: Start Transaction Get entity Commit Transaction I expect that the Session is disconnected after the Commit Transaction, but it is not. The Session is still connected. The ConnectionRelease mode is set to: AfterTransaction After I've committed the Transaction, Session.IsConnected returns true. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
