-->
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 - multiple audit types
PostPosted: Fri May 07, 2010 2:14 pm 
Beginner
Beginner

Joined: Thu Feb 21, 2008 3:31 pm
Posts: 34
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


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.