-->
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: Change Hibernate Configuration at Run Time
PostPosted: Tue Feb 06, 2007 3:02 pm 
Newbie

Joined: Tue Feb 06, 2007 2:50 pm
Posts: 4
Hi
I want to create an application using Hibernate but dont know what database the end user might use. Therefore I want to let the user edit the Config file based on his database choice and deploy it. All I want to provide is a war file for the application. Could someone pls explain how it would all work - where would the config file be located (inside or outside war). Should I provide a screen in my application where the user could change the url,login,password information and then eventually it gets written to the hibernate config file somewhere

thanks
RK


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.