示例#1
0
 public static void closeAllConnections(
     Connection dbConnection, ResultSet rs1, ResultSet rs2, PreparedStatement... prepStmts) {
   closeResultSet(rs1);
   closeResultSet(rs1);
   closeStatements(prepStmts);
   closeConnection(dbConnection);
 }
示例#2
0
  public static void closeAllConnections(Connection dbConnection, PreparedStatement... prepStmts) {

    closeStatements(prepStmts);
    closeConnection(dbConnection);
  }