Annotation Type EntityMigrationSettings


@Retention(RUNTIME) @Target(TYPE) public @interface EntityMigrationSettings
Annotation for entity classes with additional details how to migrate instances of the entity. Migration refers to converting encrypted data from one encryption key to another.
Since:
8.3.5
Author:
XIMA MEDIA GmbH
  • Element Details

    • customAction

      Define a custom strategy for migrating entities. By default, entities are migrated using the default strategy.
      Returns:
      Whether to ignore the entity during migration.
      Default:
      @de.xima.fc.annotations.EntityMigrationSettings.CustomAction(action=DEFAULT, reason="Not ignored")
    • migrators

      List of custom migrators to apply to each instance of the entity. Can be used to perform custom business logic.
      Returns:
      The list of custom migrators to apply to each instance of the entity.
      Default:
      {}
    • pageSize

      int pageSize
      The number of entities to migrate in one batch. If set to 0 (or negative), uses an implementation-specific default.
      Returns:
      The number of entities to migrate in one batch.
      Default:
      0