Skip to content

Database Revision

Mohammad Badar Hashimi edited this page Jan 18, 2020 · 1 revision

it refers to records of the data records that influence data of interest, providing a historical record of the data and its origins. the implementation stores the entire revisioning data to a separate schema called revision.

We use the Envers module which aims to provide an easy auditing / versioning solution for entity classes.

Features that we will get:

  • Auditing of all mappings defined by the JPA specification

  • Auditing some Hibernate mappings that extend JPA, e.g. custom types and collections/maps of "simple" types like Strings, Integers.

  • Logging data for each revision using a "revision entity"

  • Querying historical snapshots of an entity and its associations

Clone this wiki locally