docs: private void fetchResult(String sql, int statementRetType,
                               int generatedKeys, int[] generatedIndexes,
                               String[] generatedNames) throws SQLException {
  
          checkClosed();
          connection.clearWarningsNoCheck();
          closeResultData();
  
          if (isEscapeProcessing) {
              sql = connection.nativeSQL(sql);
          }
          resultOut.setPrepareOrExecuteProperties(sql, maxRows, fetchSize,
                  statementRetType, rsScrollability, rsConcurrency,
                  rsHoldability, generatedKeys, generatedIndexes,
                  generatedNames);
  
          try {
              resultIn = connection.sessionProxy.execute(resultOut);
  
              performPostExecute();
          } catch (HsqlException e) {
              throw Util.sqlException(e);
          }
  
          if (resultIn.isError()) {
              throw Util.sqlException(resultIn);
          }
      }