Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3465

Allow jBPM to use any JPA Provider, not just Hibernate (but also OpenJPA, ...)

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • 7.x
    • jBPM 5.2
    • Persistence
    • Medium
    • 0
    • 0% 0%

    Description

      Cloned from JBRULES-3305.
      Andy Black: "We are basically looking to be able to use OpenJPA for the peristence layer. The reason for this is our deployment environment. We'd like to run the JBPM/Drools middleware on IBM Websphere running on z/OS. The JPA provider for this platform is a fork of OpenJPA. IBM has made enhancements to this fork in order to support their pureQuery environment for DB2. This support would allow us to leverage DB2 static execution for the JPA environment. Basically this means better performance at the database layer."

      JBPM does use hibernate specific annotations:

      Targets
          String 'import org.hibernate'
      Found usages  (5 usages)
          Production  (5 usages)
              jbpm-bam  (4 usages)
                  org.jbpm.process.audit  (4 usages)
                      HibernateUtil.java  (2 usages)
                          (19: 1) import org.hibernate.SessionFactory;
                          (20: 1) import org.hibernate.cfg.Configuration;
                      ProcessInstanceDbLog.java  (1 usage)
                          (21: 1) import org.hibernate.Session;
                      WorkingMemoryDbLogger.java  (1 usage)
                          (28: 1) import org.hibernate.Session;
              jbpm-persistence-jpa  (1 usage)
                  org.jbpm.persistence.processinstance  (1 usage)
                      ProcessInstanceInfo.java  (1 usage)
                          (35: 1) import org.hibernate.annotations.CollectionOfElements;
      

      Note: if we upgrade to JPA 2 that @CollectionOfElements can be replaced by JPA's @ElementCollection (but we probably don't want to upgrade yet).

      Attachments

        Issue Links

          Activity

            People

              marco.rietveld Marco Rietveld (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: