The section about JTA configuration in the 5.0, 5.1, and 5.2 user guides and the 5.0 migration guide do not explicitly state that native Hibernate (non-JPA) applications must have the property setting, hibernate.transaction.coordinator_class=jta. The default for native Hibernate applications is hibernate.transaction.coordinator_class=jdbc, which will cause problems with JTA resources. JPA applications do not need to set hibernate.transaction.coordinator_class, because Hibernate will automatically use the proper transaction coordinator based on the transaction type for the persistence unit. |