]
Jason Greene resolved WFLY-9647.
--------------------------------
Resolution: Done
allow property name to be specified in
PersistenceUnit/PersistenceContext unitName
----------------------------------------------------------------------------------
Key: WFLY-9647
URL:
https://issues.jboss.org/browse/WFLY-9647
Project: WildFly
Issue Type: Task
Components: JPA / Hibernate
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 12.0.0.Beta1, 12.0.0.Final
Add extension that allows system property substitution of unitName:
{code}
@PersistenceContext(unitName = “${test.case.persistence.context}")
private EntityManager entityManager;
@PersistenceUnit(unitName = “${test.case.persistence.context}")
private EntityManagerFactory entityManagerFactory;
{code}