]
Scott Marlow reassigned WFLY-7130:
----------------------------------
Assignee: Scott Marlow (was: Jason Greene)
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: 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={(a)PersistenceProperty(name="wildfly.jpa.allowjoinedunsync",
value="true")})
private EntityManager allowjoinedunsyncEm;
{quote}
Is passing an incorrect form of the property values.