This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: Clean Hibernate Second Level Cachegenman Jan 12, 2009 6:35 PM (in response to repkin)You should use the Hibernate API to evict the entries. Don't access the underlying cache directly. 
- 
        2. Re: Clean Hibernate Second Level Cacherepkin Jan 13, 2009 1:46 AM (in response to repkin)I have evicted by "sessionFactory.evictEntity" public void cleanSecondLevelCache(String[] entityNames){ //entityName : com.package.name.ClassName for (String entityName : entityNames) { sessionFactory.evictEntity(entityName); } }
 Thanks for your suggestion.
 
    