Module io.ebean.api

Interface ChangeLogListener

public interface ChangeLogListener
Listen for changes.

Implementations can take the changes and store them in a document store for auditing purposes etc.

  • Method Summary

    Modifier and Type
    log(ChangeSet changeSet)
    Log the batch of changes.
  • Method Details

    • log

      void log(ChangeSet changeSet)
      Log the batch of changes.

      For small transactions this will be all the changes in the transaction. For larger/longer transactions this can be a 'batch' of changes made and the actual transaction has not yet committed or rolled back and a later change set will contain the final changeSet for the transaction with it's final status of COMMITTED or ROLLBACK.