-->
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: Should I be calling ActionQueue.executeActions()
PostPosted: Fri Feb 13, 2009 5:39 am 
Newbie

Joined: Fri Jan 30, 2009 12:20 pm
Posts: 3
Hi,

I am currently experiencing the problem described in HHH-3195 where Session.clear() is not clearing my objects from the ActionQueue because I am using query cache. I am using blobs so am getting an OutOfMemoryError pretty quickly.

I have been messing around calling ActionQueue.executeActions()

Code:
           
session.flush();
session.clear();
//added below line
((SessionImpl)session).getActionQueue().executeActions();



The above is working for me but I am not sure the implications of calling this method; if anyone can enlighten me that would be much appreciated!

Thanks 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.