[jboss-jira] [JBoss JIRA] (WFLY-9647) allow property name to be specified in PersistenceUnit/PersistenceContext unitName

Jason Greene (JIRA) issues at jboss.org
Thu Mar 1 01:24:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-9647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list