Class DefaultChangelog

java.lang.Object
org.hibernate.audit.ChangelogMapping
org.hibernate.audit.DefaultChangelog
All Implemented Interfaces:
Serializable

@Changelog @Entity public final class DefaultChangelog extends ChangelogMapping
A built-in changelog entity which maps to the REVINFO table.

Maps to the REVINFO table with columns:

  • REV: auto-generated integer primary key
  • REVTSTMP: Unix epoch timestamp in milliseconds

To use this entity, add it to the domain model of your application.

For entity change tracking (cross-type revision queries), use DefaultTrackingModifiedEntitiesChangelog instead.

Since:
7.4
See Also:
  • Constructor Details

    • DefaultChangelog

      public DefaultChangelog()