Hello,
you can disconnect a session from the underlying jdbc connection, which is useful for long session handling. Read about this in the Hibernate reference. In my book is not yet a complete example project for this kind of usage.
I suppose that the session is still open in this moment but I did not use this approach, so you may verify it.
A closed session is no longer of use and the jdbc connection is released.
Best Regards
Sebastian
_________________ Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de
|