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...
|