Hi
Is there anyway can refresh Hibernate L2 cache at one time.
I just check the API of org.hibernate.SessionFactory and org.hibernate.Cache only found the API for evict. and there is no API for get all object or all ids from cache.
My requirement: refresh Hibernate L2 cache at one time by particular region or particular class instance.
So this maybe like this: get all the ids(or objects) from cache with region name or class type, evict all the data all the data, then reload them.
I can not found any API can get this information from cache.
Thanks,
|