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."
Update: Looks like BoneCP may not support this. Does anyone know if (and how) other connection pooling frameworks resolve this problem?