code: public static void closeStatement(Statement statement) {
          try {
              if (statement != null && !statement.isClosed()) {
  
                  statement.close();
              }
          } catch (SQLException ex) {
              LOGGER.trace(statement.toString(), ex);
          }
      }
docs: Closes the given statement object ignoring any exceptions that occur.
  
  @param statement a Statement object