Thanks so much for this new release! I can now use DetachedCriteria which I was sorely needing.
Just a quick question though... Have any of the default configurations changed with this new release? I updated by LIB directory on my main project and got the following errors when I tried to run my unit tests:
Code:
Trigger.Qmis.Services.DataAccessTest.ContactDaoHibernateImplTest.CreateAndReadContactTest : System.TypeInitializationException : The type initializer for 'Nested' threw an exception.
----> NHibernate.Cache.NoCachingEnabledException : Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
----> System.TypeInitializationException : The type initializer for 'Nested' threw an exception.
----> NHibernate.Cache.NoCachingEnabledException : Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
I previously hadn't specified values for "hibernate.cache.use_second_level_cache" to "true" "hibernate.cache.provider_class" in my config files. I had to either:
- Explicitly set "hibernate.cache.use_second_level_cache" to "true" "hibernate.cache.provider_class" to "NHibernate.Caches.SysCache.SysCacheProvider, NHibernate.Caches.SysCache"...
...or...
- Explicitly set "hibernate.cache.use_second_level_cache" to false
I checked in the
migration guide, but couldn't find anything about this. Any thoughts?