Hibernate Envers: is it possible to truncate the the Aud table based on date
1) Is there any way to limit the scope of an Envers audit trail?
We have a need for 1 week of audit trails for which Envers is a perfect fit, but we also have some contractual obligations around data retention beyond that timeframe.
1.1) Is it possible to configure envers to truncate its _AUD table based on revisionTime?
1.2) Will hibernate crumble or grumble if I use a timed query to remove the data from the database directly? Or is there an alternative, API-friendly way to remove audit history?
Thanks -tb
|