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

Persistance Unit must be named "org.jbpm.domain"

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jBPM 6.2.0.Beta1
    • Persistence

      In org.jbpm.services.cdi.implDeploymentServiceCDIImpl

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

      essentially forces a requirement that the persistence unit has the name org.jbpm.domain. The Developer should be able to name the persistance unit as they wish.

      Ideally the Deployment impl would have a EMF injected using a qualifier ( @Jbpm ). It could then be set up a with a producer by the implementer.

              swiderski.maciej Maciej Swiderski (Inactive)
              jblinick_jira Josh B (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: