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

Scott Marlow (JIRA) issues at jboss.org
Thu May 24 17:37:00 EDT 2018


     [ https://issues.jboss.org/browse/WFLY-10433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow closed WFLY-10433.
-------------------------------


> allow JPA apps to disable WildFly JTA platform/2lc initiators 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).  Instead, the Hibernate ORM 2lc cache initiator will be used.



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


More information about the jboss-jira mailing list