The url is :
http://www.mail-archive.com/hibernate-devel@lists.sourceforge.net/msg02730.html
The content is here :
Code:
Hi, I am a newbie in Hibernate and I am thinking about applying Hibernate to
a project I will work on in the next few month. And for the project,
concurrency may not be high but data stale can be a disaster. Thus, I am
wondering if it is better to always use session.disconnect() in the business
layer. In fact, if anybody can better explain the difference between these
two methods, i will so much appreciate. Is it true that to use
session.disconnect() may not be necessarily better, but no doubt more
secure?
It is exactly what my problem is. What different between session.close() and session.disconnect() ? [/url]