aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate: Mysql Auto Reconnect is not happening. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate: Mysql Auto Reconnect is not happening." Watch "Hibernate: Mysql Auto Reconnect is not happening." New topic
Author

Hibernate: Mysql Auto Reconnect is not happening.

Csk Kumar
Greenhorn

Joined: Mar 07, 2011
Posts: 13
Hi,
I am using Hibernate and Mysql for my application which is running on jboss-5.1.0.GA.

Issue:
Mysql Auto Reconnect is not happening.
Whenver i keep my jboss Idle(say one day), it is throwing below pasted exception. Could you please help me out in resolving this issue?

Thanks in advance!!

hibernate.cfg.xml



Exception looks like this:



[
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate: Mysql Auto Reconnect is not happening.