Envers allows you to track which properties have changed by creating extra columns in the audit table that specify whether or not that property changed in that revision (http://docs.jboss.org/hibernate/orm/4.3/devguide/en-US/html/ch15.html#envers-tracking-properties-changes). The problem for us is that the name of the modified column is based on the name of the attribute in the Java class and cannot be changed. We have lots of properties that for either legacy reasons or for readability the attribute name and the column name don't match.
|