We have an application that uses Hibernate\'s 2nd level caching to avoid database hits.
I was wondering if there is some easy way to invalidate the Java application
One thing to take into account when using distributed cache is that QueryCache is local, and evicting it on one node, does not evicts it from other. Another issue is - evicting Entity region without evicting Query region will cause N+1 selects,when trying to retrieve date from Query cache. Good readings on this topic here.