Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006245 [Resin] minor always 05-19-19 23:23 10-07-20 14:03
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version 4.0.61
Summary 0006245: implement JtaPlatformProvider for Hibernate 5 JTA support
Description To integrate with Hibernate 5, Resin needs to implement a JtaPlatformProvider[1]. It can simply return a hibernate-provided ResinJtaPlatform[2].

[1] JtaPlatformProvider: https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/StandardJtaPlatformResolver.java#L33 [^]

[2] ResinJtaPlatform: https://github.com/hibernate/hibernate-orm/blob/e5dc635a52362f69b69acb8d5b166b69b165dbbd/hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/ResinJtaPlatform.java#L18 [^]
Additional Information
Attached Files

- Relationships

- Notes
(0006895)
nam
05-19-19 23:24

The workaround is for users to add the following property to their persistence.xml:

            <property name="hibernate.transaction.jta.platform" value="Resin"/>
 
(0006896)
nam
05-19-19 23:26

Caucho should also submit a github pull request to Hibernate to add native Resin detection to StandardJtaPlatformResolver.java.
 

- Issue History
Date Modified Username Field Change
05-19-19 23:23 nam New Issue
05-19-19 23:24 nam Note Added: 0006895
05-19-19 23:26 nam Note Added: 0006896
05-19-19 23:30 nam Description Updated
05-19-19 23:38 nam Summary implement JtaPlatformProvider for Hibernate 5 support => implement JtaPlatformProvider for Hibernate 5 JTA support
10-07-20 14:03 ferg Assigned To  => ferg
10-07-20 14:03 ferg Status new => closed
10-07-20 14:03 ferg Resolution open => no change required
10-07-20 14:03 ferg Fixed in Version  => 4.0.66


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