java程序运行中报异常:
java.sql.SQLException: An attempt by a client to checkout a Connection has timed out
原因:
由于使用c3p0连接,程序执行完数据库操纵没有关闭数据库连接,导致整个程序无法执行数据库操作,而抛出异常
java程序运行中报异常:
java.sql.SQLException: An attempt by a client to checkout a Connection has timed out
原因:
由于使用c3p0连接,程序执行完数据库操纵没有关闭数据库连接,导致整个程序无法执行数据库操作,而抛出异常