This content has been marked as final.
Show 1 reply
-
1. Envers Usage for "Audit Log"
adamw Feb 2, 2011 2:23 AM (in response to sepp_huber)No, Envers doesn't support the central-table concept. However you could quite easily leverage quite a lot of Envers code to achieve that (change the mapping and the work units).
Also, even with the central-table concept, I think it would be good to separate it into two: data and revision info, so that you can group changes made in one tx/by one user at a time easily using a foreign key.
As for comparing two versions, it's a matter of comparing the fileds in two entities - this can be time-consuming if you've got very large entities .
Adam