[jboss-jira] [JBoss JIRA] (WFLY-7130) PersistenceProperty specified in @PersistenceContext should be passed to the created EntityManager

Scott Marlow (JIRA) issues at jboss.org
Fri Sep 16 13:46:00 EDT 2016


Scott Marlow created WFLY-7130:
----------------------------------

             Summary: PersistenceProperty specified in @PersistenceContext should be passed to the created EntityManager 
                 Key: WFLY-7130
                 URL: https://issues.jboss.org/browse/WFLY-7130
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 10.1.0.Final, JBoss AS7 7.1.1.Final
            Reporter: Scott Marlow
            Assignee: Jason Greene


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:
{quote}
@PersistenceContext(type = PersistenceContextType.TRANSACTION, unitName = "mypc", properties={@PersistenceProperty(name="wildfly.jpa.allowjoinedunsync", value="true")})
private EntityManager allowjoinedunsyncEm;
{quote}

Is passing an incorrect form of the property values.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list