code: public static DBCleaningScripts prepareScripts(String dialect, WorkspaceEntry wsEntry) throws DBCleanException
     {
        if (dialect.startsWith(DialectConstants.DB_DIALECT_MYSQL))
        {
           return new MySQLCleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_DB2))
        {
           return new DB2CleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_MSSQL))
        {
           return new MSSQLCleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_PGSQL))
        {
           return new PgSQLCleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_SYBASE))
        {
           return new SybaseCleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_HSQLDB))
        {
           return new HSQLDBCleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_H2))
        {
           return new H2CleaningScipts(dialect, wsEntry);
        }
        else if (dialect.startsWith(DialectConstants.DB_DIALECT_ORACLE))
        {
           return new OracleCleaningScipts(dialect, wsEntry);
        }
        else
        {
           throw new DBCleanException("Unsupported dialect " + dialect);
        }
     }
docs: Prepare SQL scripts for cleaning workspace data from database.
  
  @param wsEntry
  workspace configuration
  @param dialect
  database dialect which is used, since {@link JDBCWorkspaceDataContainer#DB_DIALECT} parameter
  can contain {@link DialectConstants#DB_DIALECT_AUTO} value it is necessary to resolve dialect
  before based on database connection.