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

Adam Warski (JIRA) noreply at atlassian.com
Fri Jan 20 14:46:10 EST 2012


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

Adam Warski reassigned HHH-6605:
--------------------------------

    Assignee: Adam Warski

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