[jboss-user] [EJB 3.0] - Using enviroment variables in persistence.xml

dyahav do-not-reply at jboss.com
Tue Nov 4 03:36:58 EST 2008


Hi all,
I would like to use an environment variable in my persistence.xml for
determining the database dialect and username dynamically.
Currently I'm using a simple string but when other wants to run it, he should change it. I want to avoid it by taking it dynamically using an environmet variable.
Does anybody know how to do this?
Thanks
Dyahav

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186574#4186574

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186574



More information about the jboss-user mailing list