Closed sepatel closed 12 years ago
Not true, it does not auto-reconnect and get you a valid connection on the getConnection call however, on a SQLException which represents a connectivity issue, it does close the existing connection out of the pool and attempts to acquire a new connection.
It does not appear that bonecp is actually executing the sql statement on checkout to ensure that the connection is valid before handing it out. There seems to be a discrepency between how it worked under c3p0 and bonecp but a damaged sql statement never seems to recover.