0 Replies Latest reply on Feb 13, 2015 2:01 AM by Tejas Patel

    Generate User defined audit tables with hibernate envers per entity

    Tejas Patel Newbie

      I wanted to leverage envers such that it could be plugged with any of the designing approach.

      How could I generate a audit table which I specify as  entity of an hibernate.

      Is there any possibility that we generate only one audit table, where, each entity on which actions such  as create ,update is been recorded along with entity name.


      Moreover I would like to understand internal working of envers, when a entity needs to be audited. Does it uses reflection for the entity that are marked as @audited or it just simply uses listeners and observer design pattern to generate audit and revision history