예제 #1
0
파일: DAOUtil.java 프로젝트: JacobsonMT/ndb
 /**
  * Quietly close the Connection, Statement and ResultSet. Any errors will be printed to the
  * stderr.
  *
  * @param connection The Connection to be closed quietly.
  * @param statement The Statement to be closed quietly.
  * @param resultSet The ResultSet to be closed quietly.
  */
 public static void close(Connection connection, Statement statement, ResultSet resultSet) {
   close(resultSet);
   close(statement);
   close(connection);
 }
예제 #2
0
파일: DAOUtil.java 프로젝트: JacobsonMT/ndb
 /**
  * Quietly close the Connection and Statement. Any errors will be printed to the stderr.
  *
  * @param connection The Connection to be closed quietly.
  * @param statement The Statement to be closed quietly.
  */
 public static void close(Connection connection, Statement statement) {
   close(statement);
   close(connection);
 }