Interface AuditEntityLoader


public interface AuditEntityLoader
Contract for loading entity snapshots from audit tables at a specific transaction
Since:
7.4
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    find(Object id, Object changesetId, boolean includeDeletions, SharedSessionContractImplementor session)
    Load an entity snapshot at the given changeset.
  • Method Details

    • find

      <T> T find(Object id, Object changesetId, boolean includeDeletions, SharedSessionContractImplementor session)
      Load an entity snapshot at the given changeset.
      Parameters:
      id - the entity identifier
      changesetId - the identifier of the changeset
      includeDeletions - whether to include DEL revisions
      session - the session to use for loading
      Returns:
      the entity instance, or null