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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: