-->
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: Execute query after Envers auditing
PostPosted: Fri Jul 03, 2015 1:01 pm 
Newbie

Joined: Fri Jul 03, 2015 12:36 pm
Posts: 1
Hi,
I wonder if it is possible to run any query right after Envers has done its work while I need to do some additional data processing. Despite Envers is triggered by committing transaction I would like to process generated data in the same transaction to avoid data inconsistency.

After searching I know only that it is by design that Envers works that way and i.e. flushing has no effect. The only solution that comes to my mind is database trigger. I would preffer in app solution if possible.

Thanks for any answer in advance.


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.