Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10433

allow JPA apps to disable WildFly JTA platform/2lc initiators for Hibernate ORM 5.3+

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.Final
    • None
    • JPA / Hibernate
    • None

      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.

            smarlow1@redhat.com Scott Marlow
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: