docs: public void doStatementCleanup(PreparedStatement stmt) throws SQLException {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (setCursorNameSupported) {
              try{        
                  stmt.setCursorName(null);            
              } catch (SQLFeatureNotSupportedException supportX) {
                  setCursorNameSupported = false;
                  if (isTraceOn && tc.isDebugEnabled()) Tr.debug(tc, "Statement.setCursorName() is not supported.", supportX);
              }
          }
          
          stmt.setFetchDirection(ResultSet.FETCH_FORWARD);
          stmt.setMaxFieldSize(0);
          stmt.setMaxRows(0);
  
          Integer queryTimeout = mcf.dsConfig.get().queryTimeout;
          if (queryTimeout == null)
              queryTimeout = defaultQueryTimeout;
          stmt.setQueryTimeout(queryTimeout);
      }