I didn't write a test project because I don't know how to test if the request hits the database or the second level cache. In my tests I have show_sql option set to true in nhibernate configuration file so I can see if the database is queried or the data is pulled from second level cache.
The result of my tests are independent of which cache provider I choose.
Environment
None
Activity
Show:
Simon Bartlett
December 5, 2010 at 2:12 AM
The stackoverflow link is broken now too.
Fabio Maulo
October 31, 2010 at 11:39 AM
without the cache's configuration you have used for the entity nobody will give you an answer.
The problem is described at http://stackoverflow.com/questions/3849527/nhibenrate-second-level-cache-unexpected-behaviour
I didn't write a test project because I don't know how to test if the request hits the database or the second level cache. In my tests I have show_sql option set to true in nhibernate configuration file so I can see if the database is queried or the data is pulled from second level cache.
The result of my tests are independent of which cache provider I choose.