Hi all,
I would like to have 2 audit types, 1 for changes made by a person through the web interface, and another for logging system changes that happen automatically. System changes are from periodic tasks executed by a scheduler (quartz). In that case, I want to log, the date and time it was run and possibly some other fields as well.
Is it possible to do this with envers? I currently have the one for logging user changes, but would also like to have a standard history for system changes.
Another question related to envers - is it possible to embed the revision entity so you can query directly rather than with the special audit reader? I want the revision information to be as much of the entity as the changes itself.
Walter
|