org.apache.ode.bpel.engine.migration

## Interface Migration

- All Known Implementing Classes:
    CorrelationKeyMigration, CorrelationKeySetDataMigration, CorrelationKeySetMigration, CorrelatorsMigration, OutstandingRequestsMigration

      public interface Migration

  Implement and add to the list of migrations in MigrationHandler to allow database level migration.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `migrate(java.util.Set<BpelProcess> registeredProcesses, BpelDAOConnection connection)` All database migrations are run in the same transaction so if one fails, they will all be rollbacked.

- - ### Method Detail

    - #### migrate

          boolean migrate(java.util.Set<BpelProcess> registeredProcesses,
                          BpelDAOConnection connection)

      All database migrations are run in the same transaction so if one fails, they will all be rollbacked. There are two ways to fail: either return false or throw an exception. The difference is that throwing an exception will stop the server startup whereas returning false will let the server continue its starting cycle and run on the non-migrated data.