Storing information about changes of properties

Description

Users would be able to construct more meaningful audit queries if Envers had an option to store and query information about modifications of individual properties, e.g.:

getAuditReader().createQuery().forRevisionsOfEntity(clazz, false, false)
.add(AuditEntity.id().eq(id)).add(AuditEntity.property(propertyName).hasChanged());

With such a query, user will get only those revisions of (clazz, id), that modified property with propertyName.
Currently, to achieve that, user have to retrieve and compare manually two revisions, which increases complexity and decreases performance.

Activity

Steve EbersoleFebruary 9, 2012 at 6:21 AM

Closing for 4.1 release

Fixed

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged56h remaining

Fix versions

Priority

Created August 25, 2011 at 12:25 AM
Updated February 9, 2012 at 6:21 AM
Resolved January 20, 2012 at 11:51 PM

Flag notifications