[jboss-jira] [JBoss JIRA] (AS7-3195) Expansion of variables in persistence.xml

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 7 11:27:51 EST 2012


    [ https://issues.jboss.org/browse/AS7-3195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664824#comment-12664824 ] 

Brian Stansberry commented on AS7-3195:
---------------------------------------

Oleg, I suggest you reply on the dev list to http://lists.jboss.org/pipermail/jboss-as7-dev/2011-December/004833.html before doing too much. As Jaikiran noted, this is a general issue and needs a general solution.

The org.jboss.util.StringPropertyReplacer class in the old jboss-common-core lib has the routine previously used for pure system property replacement. That should be the basis for any AS7 equivalent. It could potentially be used as is if the dev list discussion leads to that decision.
                
> 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
>            Assignee: Oleg Kulikov
>             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

        


More information about the jboss-jira mailing list