Class ContentEntityMigrationTaskWrapper

  • All Implemented Interfaces:
    org.springframework.transaction.support.TransactionCallback

    public class ContentEntityMigrationTaskWrapper
    extends Object
    implements org.springframework.transaction.support.TransactionCallback
    Wraps a ContentEntityMigrationBatchTask and ensures that the flush mode of the session is set to commit. This ensures that our session doesn't chew all the memory as we load each and every CEO.