"无法关闭连接池" +
name+"中的连接"); } } freeConnections.removeAllElements(); }
/** *
创建新的连接 */ private Connection newConnection() { Connection con =
null; try { con = DriverManager.getConnection(URL+dbInfo);
log("连接池" + name+"创建一个新的连接"); } catch (SQLException e) {
log(e, "无法创建下列URL的连接: " + URL); return null; } return con;
}
} }
上一页 [1] [2] |