[jboss-jira] [JBoss JIRA] (WFLY-2933) Can't use system properties to set persistence-unit element content in persistence.xml

Grégory Bévan (JIRA) issues at jboss.org
Fri Feb 14 02:21:28 EST 2014


Grégory Bévan created WFLY-2933:
-----------------------------------

             Summary: Can't use system properties to set persistence-unit element content in persistence.xml
                 Key: WFLY-2933
                 URL: https://issues.jboss.org/browse/WFLY-2933
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JPA / Hibernate
    Affects Versions: 8.0.0.Final
            Reporter: Grégory Bévan
            Assignee: Scott Marlow
             Fix For: 8.0.1.Final


I want to set dinamically content of "jta-data-source" element in persistence.xml file by using system properties passed on command line.

The following link shows it's possible for previous JBoss version. I tested on JBoss 7.1.0.Final and it works.

It goes with the possibility to define expression in datasource subsystem as described in WFLY-2160

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list