Hi,
I am new to hibernate and we are trying to use hibernate 3.5.6 in WAS 5.1, Since we are using session bean to call our DAO, we would like to use CMT to manage the transaction. But so far we tried different combination of configuration, but none of them is working.
Here is what we tried: using: <property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property><property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereTransactionManagerLookup</property> <property name="jta.UserTransaction">java:comp/UserTransaction</property>
but we couldn't find userTransaction, from what I read, it seems WAS 5.1 doesn't expose it anymore.
Using: WebSphereExtendedJTATransactionLookup for the manager_lookup_class
Using JTATransactionFactory only
So far the only one work is non-managed transaction JDBCTransaction, which we really don't want to use.
I find someone made it working in WAS5.1, but there is no specifics. Can someone shed some lights on this? We've been struggle for a few days already, any information is greatly appreciated.
thanks
|