Class AuditProcess

java.lang.Object
org.hibernate.envers.internal.synchronization.AuditProcess
All Implemented Interfaces:
org.hibernate.action.spi.BeforeTransactionCompletionProcess

public class AuditProcess extends Object implements org.hibernate.action.spi.BeforeTransactionCompletionProcess
  • Constructor Details

    • AuditProcess

      public AuditProcess(RevisionInfoGenerator revisionInfoGenerator, org.hibernate.engine.spi.SessionImplementor session)
  • Method Details

    • cacheEntityState

      public void cacheEntityState(Object id, String entityName, Object[] snapshot)
    • getCachedEntityState

      public Object[] getCachedEntityState(Object id, String entityName)
    • addWorkUnit

      public void addWorkUnit(AuditWorkUnit vwu)
    • getCurrentRevisionData

      public Object getCurrentRevisionData(org.hibernate.Session session, boolean persist)
    • doBeforeTransactionCompletion

      public void doBeforeTransactionCompletion(org.hibernate.engine.spi.SessionImplementor session)
      Specified by:
      doBeforeTransactionCompletion in interface org.hibernate.action.spi.BeforeTransactionCompletionProcess