Are you using BMT or CMT? In case of BMT you will have to set the following properties:
Code:
hibernate.transaction.factory_class = \
org.hibernate.transaction.JTATransactionFactory
hibernate.transaction.manager_lookup_class = \
org.hibernate.transaction.JBossTransactionManagerLookup
and if CMT is used:
Code:
hibernate.transaction.factory_class = \
org.hibernate.transaction.CMTTransactionFactory
hibernate.transaction.manager_lookup_class = \
org.hibernate.transaction.JBossTransactionManagerLookup
The transaction manager lookup class is dependent on what app server you use.
Farzad-