Joined: Tue Oct 03, 2006 2:07 am Posts: 18
|
I am a little confused.
What is the right configuration spring, JOTM and hibernate 3.3.0 ? (With hibernate 3.2.5 all works fine)
Should I
1) Set JOTMTransactionManagerLookup into hibernate properties ?
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JOTMTransactionManagerLookup
Seem to not working since JTATransactionFactory.getUserTransaction() dont count with this class.
2) Override JTATransactionFactory myself and set hibernate properties to
hibernate.transaction.factory_class=org.hibernate.transaction.JOTMJTATransactionFactory
3) Leave all to spring. Spring 2.5.5 claims that support hibernate 3.3.0. Spring knowns that I am using JOTM and Hibernate. Maybe spring do this for me.
Which one is the right one ?
Thanks for help.
|
|