Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.61
  Product Build
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"/>
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0006904)
ferg
06-18-19 14:21

Not part of the JPA spec.
 

- Issue History
Date Modified Username Field Change
05-19-19 23:38 nam New Issue
05-19-19 23:40 nam Description Updated
05-19-19 23:51 nam version  => 4.0.61
06-18-19 14:21 ferg Note Added: 0006904
06-18-19 14:21 ferg Assigned To  => ferg
06-18-19 14:21 ferg Status new => closed
06-18-19 14:21 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker