[
https://issues.jboss.org/browse/AS7-3195?page=com.atlassian.jira.plugin.s...
]
Andrea Carboni edited comment on AS7-3195 at 1/16/12 1:21 PM:
--------------------------------------------------------------
It is very annoying that a feature present in 5.x and 6.x is considered fixable by the
community. We made our product with AS6 using property substitution both on persistence
and on datasource xml files. For example, on persistence.xml this allows us to have only
one EAR that can switch to oracle or mysql at execution time. On the datasource side,
property substitution allows us to implement a special authentication mechanism.
Now we have serious problems migrating to AS7, considering that AS6 is not supported.
Furthermore, it seems that the path is already available.
Cheers,
Andrea
was (Author: acarboni):
It is very annoying that a feature present in 5.x and 6.x is considered fixable by the
community. We made our product with AS6 using property substitution both on persistence
and on datasource xml files. For example, on persistence.xml this allows us to have only
one EAR that can switch to oracle or mysql at execution time. On the datasource side,
property substitution allows us to implement a special authentication mechanism.
Now we have serious problems migrating to AS7, considering that AS6 is not supported.
Cheers,
Andrea
Expansion of variables in persistence.xml
-----------------------------------------
Key: AS7-3195
URL:
https://issues.jboss.org/browse/AS7-3195
Project: Application Server 7
Issue Type: Feature Request
Components: JPA / Hibernate
Affects Versions: 7.0.2.Final
Reporter: Hasan Ceylan
Fix For: Open To Community
Hello,
I am not sure if this is a bug or a feature request.
IIR, expansion of variables in the form of ${foo.bar} was supported in persistence.xml
(and may be other).
In Jboss 7.X, I see this is not supported.
Regards,
Hasan Ceylan
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira