Joined: Sat Apr 19, 2014 4:10 pm Posts: 2
|
Hi Folks,
I have been working with Hibernate for more than 5 years now and only now started reading its fundamentals. I am currently reading long conversations. I can't understand what does it mean to disconnect the session from the Database (as is the case in session-per-conv) and how is it different from closing the session altogether and create a new one for the next user request (as is the case in session-per-req-with-detached-obj).
Basically why would I keep a session that is disconnected from the DB anyway? And why is this the preferred way as suggested by the documentation.
Thanks for your time (I may have follow up questions).
|
|