[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-6605) Storing information about changes of properties

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Feb 8 23:22:42 EST 2012


     [ https://hibernate.onjira.com/browse/HHH-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-6605.
-------------------------------


Closing for 4.1 release

> Storing information about changes of properties
> -----------------------------------------------
>
>                 Key: HHH-6605
>                 URL: https://hibernate.onjira.com/browse/HHH-6605
>             Project: Hibernate ORM
>          Issue Type: New Feature
>          Components: envers
>            Reporter: Michał Skowronek
>            Assignee: Adam Warski
>             Fix For: 4.1.0
>
>   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