Communications link failure due to underlying exception异常处理(转)
摘要:最近的一个项目在Hibernate使用C3P0的连接池,数据库为Mysql。开发测试没有问题,在运行中每个一段长的空闲时间就出现异常:java 代码org.hibernate.exception.JDBCConnectionException: could not execute queryat org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.
阅读全文
posted @
2013-09-08 20:59
kkmm
阅读(1635)
推荐(0) 编辑