阅读背景:

如何检测连接池中的已关闭连接?

来源:互联网 

Imagine having an active BoneCP jdbc connection pool when the network connectivity goes down, then comes back after a minute. In order to automatically reconnect and recreate the pool, how should BoneCP be configured? Currently if I try this, all jdbc connections remain available in the pool and each time my code tries to use them, I get exceptions: "java.sql.SQLException: JZ0C0: Connection is already closed."Imagine having an active BoneCP jdbc connection




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: