[jboss-jira] [JBoss JIRA] (WFLY-2334) EL expansion broken in persistence.xml
Stuart Douglas (JIRA)
issues at jboss.org
Mon Apr 14 16:44:33 EDT 2014
[ https://issues.jboss.org/browse/WFLY-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12961758#comment-12961758 ]
Stuart Douglas commented on WFLY-2334:
--------------------------------------
Is this still an issue? What happens if you change:
<spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>
to true in the ee subsystem in standalone.xml?
> EL expansion broken in persistence.xml
> --------------------------------------
>
> Key: WFLY-2334
> URL: https://issues.jboss.org/browse/WFLY-2334
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JPA / Hibernate
> Affects Versions: JBoss AS7 7.2.0.Final, 8.0.0.Final
> Environment: OSX, jdk 1.7.0_21
> Reporter: Ken H
>
> When testing migration from Jboss AS 7.1.1 to 7.2.0.Final or WildFly 8.0.0.Final, EL evaluation in persistence.xml no longer functions. I had been using this to change the jta-data-source name for specific environments using environment variables.
> {code}
> <jta-data-source>java:/myds/datasources/${datasource.name:myds}</jta-data-source>
> {code}
--
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