]
Adam Warski commented on HHH-5075:
----------------------------------
Sure, as long as it works :)
If you could, please create a new test and attach a patch to the issue.
Adam
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
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: