JBoss Community

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

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

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

Start a new discussion in Beginner's Corner at Community