-->
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.  [ 2 posts ] 
Author Message
 Post subject: DefaultAutoFlushEventListener.onAutoFlush
PostPosted: Wed Jun 13, 2007 2:58 am 
Newbie

Joined: Fri Jun 08, 2007 9:26 am
Posts: 3
Hi all,
I have a question regarding the implementation of DefaultAutoFlushEventListener.onAutoFlush method.

Why there is a call to flushEverythingToExecutions before the
if ( flushIsReallyNeeded(event, source) ) ?

Do we really need to call the flushEverythingToExecutions if actually the flush is not really needed ?

It is not new that the performance of the flushEverythingToExecutions is heavy.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 5:56 pm 
Expert
Expert

Joined: Sat Jan 17, 2004 2:57 pm
Posts: 329
Location: In the basement in my underwear
I could be wrong but I think this is due to the fact that you need to create all of the update, delete, etc actions (flushEverythingToExecutions) before you check to see if your query space has been updated.


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

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.