-
1. Re: Add a difference between Audited properties and update p
adamw Dec 23, 2008 9:43 AM (in response to obilliard)Hello,
sorry, but I don't understand. What would the notChecked do?
--
Adam -
2. Re: Add a difference between Audited properties and update p
obilliard Dec 24, 2008 4:37 AM (in response to obilliard)Hi,
What I want is very simple: I want properties of the persisted class to be inserted in the historical table but not audited (not considered in the change checking process).
For examples: the user who did for the update, the date of the update ... -
3. Re: Add a difference between Audited properties and update p
plaky Dec 26, 2008 5:57 AM (in response to obilliard)It's very easy: Use a custom revision entity.
See http://www.jboss.org/envers/revision_log.html
kind regards,
sebastian -
4. Re: Add a difference between Audited properties and update p
obilliard Jan 6, 2009 8:45 AM (in response to obilliard)Hi,
This is exactly what I'm doing right now.
I don't like this solution because the way to get the data is awfull. To get my data properly, from the custom revision table and the audited table, I have to use the projections. So I must specify the column names, the results are a list of Object and I must use the reflexion to put in the real DTOs.
By specifying a new annotation, the declaration will be easier and getting the data will also be easier.
regards
Olivier