Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-621

Support Weblogic 12c as a container in the Persistence plugin

XMLWordPrintable

    • Workaround Exists
    • Hide

      Manually add the "hibernate.transaction.jta.platform" property to the persistence.xml

      Show
      Manually add the "hibernate.transaction.jta.platform" property to the persistence.xml

      When running in an App Server that is not JBoss we need to configure the "hibernate.transaction.jta.platform" to bind the JTA resource to the current EntityManager. For instance, using WebLogic 12c:

      <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.WeblogicJtaPlatform" />

      I think that a new parameter is needed on the persistence setup command.

        1. JPAContainer.java
          1 kB
          Luca Masini
        2. WebLogic12cContainer.java
          0.7 kB
          Luca Masini

              luca.masini_jira Luca Masini (Inactive)
              luca.masini_jira Luca Masini (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: