JBoss Community

Database password change during application is running in hibernate

created by Padmanabha Mishra in Beginner's Corner - View the full discussion

HI all,

 

I have a question here.

I have a web application where database is accessed through Hibernate.

While the application is running, Database user password is changed.But there is no effect on the application. Through hibernate we are able to access database with old configuration untill the container(tomcat) is restarted.

So can any body please tell me that is this the way hibernate works?

Or can we put hibernate in application level so that in beetween if database user password is changed, then it should throw exception in application while accessing to database.

 

Please guide me.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community