How to clear the entire second level cache in NHibernate
Posted
by Bittercoder
on Stack Overflow
See other posts from Stack Overflow
or by Bittercoder
Published on 2010-04-18T01:11:40Z
Indexed on
2010/04/18
1:13 UTC
Read the original article
Hit count: 386
I wish to clear the entire second level cache in NHibernate via code. Is there a way to do this which is independent of the cache provider being used? (we have customers using both memcache and syscache within the same application).
We wish to clear the entire cache because changes external the database would have occurred (which we have no guarantees re: which tables/entities were affected).
© Stack Overflow or respective owner