code: protected void determineForceSingleUseReadContext(Select select) {
      if (select.getSelectBody() != null) {
        select.getSelectBody().accept(new SelectVisitorAdapter() {
          @Override
          public void visit(PlainSelect plainSelect) {
            if (plainSelect.getFromItem() != null) {
              plainSelect.getFromItem().accept(new FromItemVisitorAdapter() {
                @Override
                public void visit(Table table) {
                  if (table.getSchemaName() != null
                      && table.getSchemaName().equalsIgnoreCase("INFORMATION_SCHEMA")) {
                    setForceSingleUseReadContext(true);
                  }
                }
              });
            }
          }
  
        });
      }
    }
docs: Determines whether the given sql statement must be executed in a single use read context. This
  must be done for queries against the information schema. This method sets the
  <code>forceSingleUseReadContext</code> to true if necessary.
  
  @param select The sql statement to be examined.