[hibernate-dev] API to clear/evict all caches in a session factory
galder at jboss.org
Wed Feb 22 10:49:35 EST 2012
Shouldn't Hibernate offer an API (independent of the cache provider) to clear all 2LC caches, including all entity, all collection and all query/timestamp caches?
Beneath it, each cache provider would implement this as it wishes to do so, but the knowledge of all caches within a session factory is in Hibernate core itself.
Sr. Software Engineer
Infinispan, JBoss Cache
More information about the hibernate-dev