| Hello,
 Is partial flushing possible using any api?
 
 1) pose, I load 1000 objects from database in the memory and now I want to unload first 100 objects from the memory, as i don't need this now. Can we do it?
 
 is evict the right way?
 
 2) what if I want to flush all the 1000 objects from the memory, conditions are :
 I don't have the references of objects.
 I don't want to close or flush the session.
 
 I just want to drain the cache. Is it possible? So can we drain the cache on requirement bases?
 
 3) Suppose I want to process 10000 objects. So for optimization, I can use fetchSize and so will get 100 records at a time.
 But can I flush last 100 records from the memory without closing the session?
 
 Please help for it. It is urgent.
 
 
 |