This content has been marked as final.
Show 4 replies
-
1. Re: Dinamically audit properties
adamw Aug 13, 2011 2:48 AM (in response to paulofreitas)Should this also include schema creation? That is, what audit tables are created?
There's no OOTB way to do this, but it should be easy to tweak the Envers code a bit to make the audit metadata discovery pluggable.
Adam
-
2. Re: Dinamically audit properties
paulofreitas Aug 15, 2011 9:42 AM (in response to adamw)Hi Adam,
About the schema creation, I think it should create an audit table contaning all fields (audited or not) of the audited entity. This way a field can become audited at runtime with any impact to db schema.
Should I file a feature request?
Tks!
-
-
4. Re: Dinamically audit properties
paulofreitas Aug 15, 2011 12:36 PM (in response to adamw)Thanks a lot!
This is really helpful!