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

jbpm-ejb-impl - PersistenceUnit annotation uses wrong attribute

    XMLWordPrintable

Details

    Description

      To support multple persistence units in the artifact "jbpm-ejb-impl"

      @PersistenceUnit(name="org.jbpm.domain")
      @Override
      public void setEmf(EntityManagerFactory emf) {

      needs to be changed to

      @PersistenceUnit(unitName="org.jbpm.domain")
      @Override
      public void setEmf(EntityManagerFactory emf) {

      affected classes are:

      • AuditJMSProcessor
      • DeploymentServiceEJBImpl
      • AuditTransactionalCommandServiceEJBImpl
      • TransactionalCommandServiceEJBImpl

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            khirschmann Kevin Hirschmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: