jdbc and hibernate
843859Oct 17 2007 — edited Oct 18 2007I have a project that is purely hiebrnate classes and controllers. I exporting it as .jar file.
However, I need it to be connected to a given database url given by the user.
I was thinking on parsing and creating an xml with the given db url. However, I realized that when you compile the project into a .jar the persistance.xml is also placed in this .jar
Given this is there anyway I can set the db url at run time?
thanks !!
I am using
javax.persitance