Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:1.2 b3
I was trying to enable secondlevel cache in order to use the query cache. I configured the NHibernate.Caches.Prevalence.PrevalenceCacheProvider.
On the classes set up to use the cache/query cache I now get the error : "Cannot serialize a Session while connected" - which, to me at least, makes no sense - it's not the session that supposed to be serialized just the object and why shouldn't that be possible while connected???
The class is attributed [Serializable] and the mapping has the <cache usage="nonstrict-read-write" />
I have so far been unable to find any useful information regarding this problem, so any hints pointing me in the right direction is appreciated!