[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5075) Storing @NotAudit column in _AUD tables

Stephanie Pau (JIRA) noreply at atlassian.com
Wed Apr 7 10:15:42 EDT 2010


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

Stephanie Pau updated HHH-5075:
-------------------------------

    Attachment: EnversPatch_HHH-5075.zip

Patch Attached.


>  Storing @NotAudit column in _AUD tables
> ----------------------------------------
>
>                 Key: HHH-5075
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5075
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: envers
>            Reporter: Stephanie Pau
>            Priority: Minor
>         Attachments: EnversPatch_HHH-5075.zip
>
>
> When @Audited is not applied to a property, the property change does not trigger an audited row to be recorded. This is desirable. But at the same time, this property is missing from the audited table altogether. Is there a way for me to tell Enver to keep the column but just dont trigger an audit on this property change?
> For example, ObjectOne has properties: id, column1(@audited), column2(not audited).
> When column1 changes, audit row is created for ObjectOne will be id, REV, column1, *column2*
> When column2 changes, audit row is not created.
> The reason for this is because column1 is business critical field, every change is important. column2 is a much faster changing field than column1, but is not that business critical, none the less, it is still useful to have a rough (sampled at the rate of column1 change) history of column2.
> http://community.jboss.org/message/535808#535808

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list