-->
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: Refresh configuration issue
PostPosted: Fri Jul 30, 2010 2:52 am 
Newbie

Joined: Mon Jul 23, 2007 4:20 am
Posts: 5
Location: Romania
Hi guys, I'm developing a webapplication with spring 3.0.2, hibernate 3.3.1 ga, mysql 5.1 and tomcat 6.0.18. One of the required points would be to change the root password to mysql. After that, I'm also changing a file databas.properties which is used for storing hibernate properties. Hibernate is integrated with spring, so I'll have first to invalidate spring context and reloading the database.properties file, and then reloading hibernate configurations.
Is there any way ho to do this? Is there a dedicated class in API for this?
I haven't found anything like this, please help...


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.