[jboss-jira] [JBoss JIRA] (WFLY-7130) PersistenceProperty specified in @PersistenceContext should be passed to the created EntityManager
Scott Marlow (JIRA)
issues at jboss.org
Tue Sep 20 13:28:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated WFLY-7130:
-------------------------------
Fix Version/s: 11.0.0.Alpha1
> 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
> Fix For: 11.0.0.Alpha1
>
>
> 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