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

jaikiran do-not-reply at jboss.com
Tue Nov 4 05:48:13 EST 2008


Passing the -D java parameter does exactly this :-) When you deploy this persistence.xml, each user on their own machines does not have  to change the persistence.xml. Instead all he has to do is set the -D parameter either on the command prompt or in the startup script (run.bat or run.sh).

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

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



More information about the jboss-user mailing list