Right ok. If you are using the HibernateTransactionManager then the HibernateCallback will give you the same Session within that transaction. You should be able to call into various HibernateCallback instances and find you have the same Session everytime. Personally, if you are using transactions I would go for declarative support. However if you do want to use transactions programmatically, TransactionTemplate is the way to go.
Announcement Announcement Module
No announcement yet.
Is this correct? Page Title Module
Move Remove Collapse