BoneCP doesn't recover from broken connection
问题 I have a problem with BoneCP (0.7.1 RELEASE). I though that BoneCP.getConnection() ensures it would return Connection object assuming that DB is alive. Here is how I configured my pool private void setupConnectionPool() throws SQLException { // setup the connection pool String connectUri = "jdbc:mysql://master-mysql:3306/base?zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&useCompression=true"; BoneCPConfig config = new BoneCPConfig(); config.setJdbcUrl(connectUri); config.setUsername(