How to add new column in audit table which maintains the version based on primary key ID of original entity with Hibernate Envers
I have attached an example of original table and audit table with the column I intend to add
and if possible I also need to add lastModified column also to audit table
Please refer the snapshots, and in the audit table id_version is what needed to be included.