code: public static void closeStatement(Statement statement, String sql) {
  		if (statement != null) {
  			try {
  				statement.close();
  			} catch (SQLException e) {
  				log.log(Level.WARNING, "Failed to close SQL Statement: " + sql,
  						e);
  			}
  		}
  	}
docs: Close the statement
  
  @param statement
  statement
  @param sql
  sql statement