[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:01 EST 2018
[ https://issues.jboss.org/browse/WFLY-9647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated WFLY-9647:
-------------------------------
Description:
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}
was:
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}
> 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:
> {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