I wonder what you might have found if you searched the hibernate forum, but the answer is:
configure your datasource to check the validity of the connnection before using it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034202#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...