-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: absolute jdbc path in hibernate.properties necessary?
PostPosted: Wed Jun 16, 2004 9:44 am 
Beginner
Beginner

Joined: Sun May 02, 2004 8:04 am
Posts: 36
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.