1. Hibernate EntityManager + JOTM: transactions are not used stackoverflow.comI am trying to integrate together JOTM and Hibernate EntityManager to test my EJBs in a transactional manner environment but out-of-container. My test looks like the following:
|
2. Hibernate with JOTM on Tomcat - issues with Commit and Rollb forum.hibernate.orgHi guys, I am using Hibernate for my ORM needs with Tomcat as the application server. Since Tomcat doesnt have a default JTA offering, we are using JOTM to handle transactions. But - Commit and Rollback does not seem to happen with JOTM - Is JOTM the best JTA implementation for Hibernate with Tomcat? - What about BTM and Atomicos? - ... |
3. Hibernate + JTA + JOTM forum.hibernate.org |
4. JTA/JOTM/Hibernate Problem forum.hibernate.orgNewbie Joined: Sun Feb 05, 2006 11:46 pm Posts: 13 I am using Hibernate and JOTM in a stand alone application. I have ran into a number of issues which have been resolved by reading some of the threads on this forum. I have one remaining problem. When I call session.flush the database is updated even if I call rollback on ... |
5. JOTM + Hibernate 3.3.0.GA (JTA) forum.hibernate.orgI 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 ... |