protected void setup() {
    if (getSession().getPlatform().isDB2()
        || getSession().getPlatform().isAccess()
        || getSession().getPlatform().isTimesTen()) {
      throw new TestWarningException("ScrollableCursor is not supported on this platform");
    }
    // MySQL ResultSet.relative(int) does not work when attempting to move beyond the first-1/last+1
    // row.  Seems a bug
    if (getSession().getPlatform().isMySQL()) {
      throw new TestWarningException("Not supported in MySQL");
    }
    TYPE_SCROLL_INSENSITIVE_isSupported = true;
    CONCUR_UPDATABLE_isSupported = true;
    if (getSession().getPlatform().isSQLServer()) {
      // In case either TYPE_SCROLL_INSENSITIVE or CONCUR_UPDATABLE used
      // MS SQL Server  Version: 9.00.2050;  MS SQL Server 2005 JDBC Driver  Version: 1.2.2828.100
      // throws exception:
      // com.microsoft.sqlserver.jdbc.SQLServerException: The cursor type/concurrency combination is
      // not supported.
      TYPE_SCROLL_INSENSITIVE_isSupported = false;
      CONCUR_UPDATABLE_isSupported = false;
    }
    if (getSession().getPlatform().isSymfoware()) {
      // Symfoware supports updatable cursors, but considers SQL queries
      // that select from multiple tables as non-updatable, thus raising
      // an exception for this test.
      CONCUR_UPDATABLE_isSupported = false;
    }
    getSession().getIdentityMapAccessor().initializeAllIdentityMaps();

    if (configuration != null) {
      configuration.setup(getSession());
      getExecutor().setSession(configuration.getUnitOfWork());
    }
  }
  protected void setup() {
    if (getSession().getPlatform().isDB2()
        || getSession().getPlatform().isAccess()
        || getSession().getPlatform().isTimesTen()) {
      throw new TestWarningException("ScrollableCursor is not supported on this platform");
    }
    TYPE_SCROLL_INSENSITIVE_isSupported = true;
    CONCUR_UPDATABLE_isSupported = true;
    if (getSession().getPlatform().isSQLServer()) {
      // In case either TYPE_SCROLL_INSENSITIVE or CONCUR_UPDATABLE used
      // MS SQL Server  Version: 9.00.2050;  MS SQL Server 2005 JDBC Driver  Version: 1.2.2828.100
      // throws exception:
      // com.microsoft.sqlserver.jdbc.SQLServerException: The cursor type/concurrency combination is
      // not supported.
      TYPE_SCROLL_INSENSITIVE_isSupported = false;
      CONCUR_UPDATABLE_isSupported = false;
    }
    readWithNext = new Vector();
    readWithPrevious = new Vector();
    getSession().getIdentityMapAccessor().initializeAllIdentityMaps();

    if (configuration != null) {
      configuration.setup(getSession());
      getExecutor().setSession(configuration.getUnitOfWork());
    }
  }