-
May 27th, 2009, 02:18 PM
#1
Question about Session behavior using HibernateTemplate
I'm trying to understand better how Session management using the HibernateTemplate and HibernateTransactionManager works. From what I understand if there is a thread-bound Session the HibernateTemplate should use it.
I have a situation where I have a thread-bound Session opened, but when I enter a transaction, the HibernateSession opens a new Session for the transaction and closes it after the transaction even though it finds the thread-bound Session. Is this behavior normal?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules