[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6605) Storing information about changes of properties
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Dec 27 12:41:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-6605:
--------------------------------
Affects Version/s: (was: 4.x)
> Storing information about changes of properties
> -----------------------------------------------
>
> Key: HHH-6605
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6605
> Project: Hibernate Core
> Issue Type: New Feature
> Components: envers
> Reporter: Michał Skowronek
> Original Estimate: 56h
> Remaining Estimate: 56h
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list