Anonymous | Login | Signup for a new account | 04-25-2024 15:09 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006246 | [Resin] | minor | always | 05-19-19 23:38 | 06-18-19 14:21 | ||||
Reporter | nam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | no change required | ||||||
Status | closed | Product Version | 4.0.61 | ||||||
Summary | 0006246: add hibernate property to persistence.xml for Hibernate 4 JTA support | ||||||||
Description |
Hibernate 4 requires the user to set the "hibernate.transaction.jta.platform" property when using the JTA transaction-type. Resin should automatically set that property if it detects: 1. transaction-type i JTA 2. provider is org.hibernate.ejb.HibernatePersistence (Hibernate 4) <persistence> <persistence-unit name="books" transaction-type="JTA"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <properties> <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.ResinJtaPlatform"/> [1] http://docs.jboss.org/hibernate/orm/4.1/devguide/en-US/html_single/#services-JtaPlatform [^] For Hibernate 4, it is: org.hibernate.service.jta.platform.internal.ResinJtaPlatform For Hibernate 5, it is: org.hibernate.engine.transaction.jta.platform.internal.ResinJtaPlatform For Hibernate 5, the short form is just Resin: <property name="hibernate.transaction.jta.platform" value="Resin"/> |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |