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

PersistenceProperty specified in @PersistenceContext should be passed to the created EntityManager

    XMLWordPrintable

Details

    Description

      While working on the unit test for WFLY-7075, I noticed that PersistenceContext properties are not being passed correctly to the Injected EntityManager, we should fix that.

      For Example:

      @PersistenceContext(type = PersistenceContextType.TRANSACTION, unitName = "mypc", properties=

      Unknown macro: {@PersistenceProperty(name="wildfly.jpa.allowjoinedunsync", value="true")}

      )
      private EntityManager allowjoinedunsyncEm;

      Is passing an incorrect form of the property values.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: