Hi,
We have some web applications that we wish to distribute as a WAR file to be easily dropped into other environments. The problem we face is that the JDBC url referenced in the properties file needs to be absolute AFAIK. Here is how it works now:
hibernate.connection.url=jdbc:hsqldb:/Users/novotny/Jakarta/jakarta-tomcat-4.1
.29/webapps/extras/WEB-INF/database/gridsphere
however, it would be great if the properties file and the database were packaged and placed in teh same directory, I would like to just use
hibernate.connection.url=jdbc:hsqldb:gridsphere
but it doesn't work that way currently....
any ideas are greatly appreciated!
Thanks, Jason
|