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