[jboss-jira] [JBoss JIRA] (WFLY-9647) allow property name to be specified in PersistenceUnit/PersistenceContext unitName
Scott Marlow (JIRA)
issues at jboss.org
Thu Jan 25 13:31:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-9647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow closed WFLY-9647.
------------------------------
> 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.Alpha1
>
>
> 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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list