Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9647

allow property name to be specified in PersistenceUnit/PersistenceContext unitName

    XMLWordPrintable

Details

    Description

      Add extension that allows system property substitution of unitName:

      @PersistenceContext(unitName = “${test.case.persistence.context}")
       private EntityManager entityManager;
      
      @PersistenceUnit(unitName = “${test.case.persistence.context}")
       private EntityManagerFactory entityManagerFactory;
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: