[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:47:01 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-7130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated WFLY-7130:
-------------------------------
    Component/s: JPA / Hibernate


> 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
>          Components: JPA / Hibernate
>    Affects Versions: JBoss AS7 7.1.1.Final, 10.1.0.Final
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>
> 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