You need to do the check using the DB tool.NH maintains the abstraction that the session always have an open connection, even when it has to explicitly create a new connection on the fly for you
On Fri, Nov 7, 2008 at 5:30 PM, FrederikGheysels < [EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
