Class EntityAuditSupport

java.lang.Object
org.hibernate.persister.entity.mutation.EntityAuditSupport

@Internal public class EntityAuditSupport extends Object

Shared construction and binding support for audited entity JDBC mutations.

This support deliberately stops at the mutation-model boundary. Legacy coordinators consume the generated mutation groups through the normal mutation executor, while the graph queue turns the same groups into FlushOperations. Keeping the support here avoids teaching either execution path about the other.

The main invariants guarded by this type are:

  • Audit table resolution follows the entity table mappings, including secondary tables and inheritance layouts.
  • Validity-strategy transaction-end updates are generated before the new audit insert and restrict on REVEND is null.
  • Generated graph table descriptors describe the physical audit table used by the JDBC mutation operation, not the original entity table.
Since:
8.0
Implementation Specification:
Used by both graph and legacy action-queue paths. This is just some shared infrastructure.