Try these to settings for hibernateidleConnectionTestPeriod=3600automaticTestTable=TBL_TESTI think it would salve your problemthe thing is our application is using spring 2 hibernate 3.2 and mysql5.0.22 and is working really good