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 Detail

      • customAction

        EntityMigrationSettings.CustomAction 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=de.xima.fc.annotations.EntityMigrationSettings.CustomMigrationAction.DEFAULT, reason="Not ignored")
      • 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