Hi LMR, went exactly thru the same hell. There is some article on IBM Developworks
http://www.ibm.com/developerworks/websp ... lcott.html
which recommedns the CMTT Factory but obviosuly this is only working in an EJB module. The other option is to use bean managed transactions. These are the options:
#
for container-managed transactions:
<property name="hibernate.transaction.factory_class">
org.hibernate.transaction.CMTTransactionFactory
</property>
<property name="hibernate.transaction.manager_lookup_class">
org.hibernate.transaction.WebSphereExtendedJTATransactionLookup
</property>
#
for bean-managed transactions:
<property name="hibernate.transaction.factory_class">
org.hibernate.transaction.JTATransactionFactory
</property>
<property name="hibernate.transaction.manager_lookup_class">
org.hibernate.transaction.WebSphereExtendedJTATransactionLookup
</property>
<property name="jta.UserTransaction">
java:comp/UserTransaction
</property >
However, none of them works for me.
The only solution is to use
org.hibernate.transaction.JDBCTransactionFactory
as TRX factory.
Do you have any new insights, why this might be the case?