1. CMTTransactionFactory: transactions not committed forum.hibernate.orgI'm lost, I can't get working what seems to be very easy. I want Hibernate to hook on to the transaction of a CMT stateless session bean. I set transactions to RequiresNew, like: Code: |
2. Problem in rollback using CMTTransactionFactory in weblogic forum.hibernate.orgHi, I am using Hibernate 3.0 with weblogic 9.0. Database is MSSQLServer 2000 I have done the necessary transaction attribute settings in my stateless session bean. I have created the datasource using BEA MS SQL Server Driver (Type4 XA) Also I have done the necessary settings in hibernate.cfg.xml file |
3. CMTTransactionFactory or JTATransactionFactory? forum.hibernate.orgHello, guys. We have a web application Ejb 2.1 / Hibernate. Before all our transactions were managed by a Container (CMT). Thus in our hibernate.properties file we specified CMTTransactionFactory. hibernate.transaction.factory_class=org.hibernate.transaction.CMTTransactionFactory Recently we required in one BMT usage (bean, where transactions are managed by Transaction API (UserTransaction interface)). We wonder if we should switch our configuration in hibernate.properties to hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory In manuals ... |