-->
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: Post Flush interseptor
PostPosted: Tue Jul 21, 2009 10:41 am 
Newbie

Joined: Tue Jul 21, 2009 9:51 am
Posts: 1
Scenario:

We need to update mainframe after a record has been added to the DB via website. We can set it up to run after Flush in a PostFlush interceptor, however, the Flush is not completely executed at that point - i.e. that newly added record is still not committed to DB. As a result, the PostFlush routine that updates some other DBs and tables does not see the record in DB yet.

So, really, we could do two consecutive calls - .Flash() and then run our routine, but we want to abstract the last call from developers - we'd need that to run automatically.

Any ideas would be highly appreciated!


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.