-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Envers Audit Log Truncation
PostPosted: Wed Jul 04, 2012 5:49 pm 
Newbie

Joined: Wed Jul 04, 2012 5:47 pm
Posts: 1
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.