code: static void closeQuietly(ResultSet ps)
      {
          if (ps != null)
          {
              try
              {
                  ps.getStatement().close();
                  // ps.close();
              }
              catch (Exception e)
              {
                  // Should go with the connection anyway.
                  // jqmlogger.warn("Could not close a DB result set - possible pool leak", e);
              }
          }
      }
docs: Close utility method.
  
  @param ps
  statement to close (through a RS).