[jboss-user] [Beginner's Corner] - Database password change during application is running in hibernate

Padmanabha Mishra do-not-reply at jboss.com
Mon Jan 21 07:03:38 EST 2013

Padmanabha Mishra [https://community.jboss.org/people/padma818] created the discussion

"Database password change during application is running in hibernate"

To view the discussion, visit: https://community.jboss.org/message/793216#793216

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130121/466d28d0/attachment.html 

More information about the jboss-user mailing list