[jboss-jira] [JBoss JIRA] (WFLY-10433) allow JPA apps to disable WildFly JTA platform/2lc integration for Hibernate ORM 5.3+

Scott Marlow (JIRA) issues at jboss.org
Wed May 23 10:33:00 EDT 2018


Scott Marlow created WFLY-10433:
-----------------------------------

             Summary: allow JPA apps to disable WildFly JTA platform/2lc integration for Hibernate ORM 5.3+
                 Key: WFLY-10433
                 URL: https://issues.jboss.org/browse/WFLY-10433
             Project: WildFly
          Issue Type: Task
          Components: JPA / Hibernate
            Reporter: Scott Marlow
            Assignee: Scott Marlow
             Fix For: 13.0.0.CR1


Some applications (e.g. Spring) may not want to use the WF 2lc RegionFactoryInitiator + JtaPlatform classes.  To accommodate that need, following persistence unit configuration properties will help:

* wildfly.jpa.jtaplatform will default to true but if set to false, the WildFly JtaPlatform initiator for ORM 5.3+ (WildFlyCustomJtaPlatformInitiator), will not control Jta use in the Hibernate persistence unit (or session factory).

* wildfly.jpa.regionfactory will default to true but if set to false,the WildFly 2lc cache initiator for ORM (WildFlyCustomRegionFactoryInitiator) will not control 2lc use in the Hibernate persistence unit (or session factory).




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list