How do I get all entries available in 2nd Level Cache?
My application do a re-cache by cache.removeAll(); and list all() so in the Hibernate 2nd Level. It will have all the entries I need cached.
and During this 15 mins.. I only wish to getAll Entries from the 2nd level (without hitting DB)
I do no wish use hibernate query because the under lining change often.
What other options do I have?
CacheManagerto get access to the cache and list items in the cache. - Anantha Sharma