[jboss-user] [Beginner's Corner] - Re: unable to reconnect to DB in Hibernate after database server restarted

Padmanabha Mishra do-not-reply at jboss.com
Sun Feb 10 23:58:12 EST 2013


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

"Re: unable to reconnect to DB in Hibernate after database server restarted"

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

--------------------------------------------------------------
Hi all ,
I found the solution to my previous post.
The following configuration solved my problem

<property name="hibernate.dbcp.validationQuery">SELECT 1 FROM DUAL</property>
 <property name="hibernate.dbcp.testOnBorrow">true</property>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796955#796955]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130210/12c39554/attachment.html 


More information about the jboss-user mailing list