[jboss-jira] [JBoss JIRA] (WFLY-9647) allow property name to be specified in PersistenceUnit/PersistenceContext unitName
Scott Marlow (JIRA)
issues at jboss.org
Tue Jan 2 09:57:00 EST 2018
Scott Marlow created WFLY-9647:
----------------------------------
Summary: 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
Add extension that allows system property substitution of unitName:
{quote}
@PersistenceContext(unitName = “${test.case.persistence.context}")
private EntityManager entityManager;
@PersistenceUnit(unitName = “${test.case.persistence.context}")
private EntityManagerFactory entityManagerFactory;
{quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list