How you are checking it?You can't use NH to check the connection state because NH give you an open-connection each time you access to the connection trough NH. We talk about this matter in this list some months ago.
2008/11/7 FrederikGheysels <[EMAIL PROTECTED]> > > 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. > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
