While looking at the NHibernate log after running an HQL query I noticed some odd entries as follows:
Quote:
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Impl.SessionImpl [(null)] <(null)> - resolved object in session cache [SourceNet.Data.De#268]
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Impl.SessionImpl [(null)] <(null)> - adding entity to JCS cache [SourceNet.Data.DeData#14827160]
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Cache.ReadWriteCache [(null)] <(null)> - Caching: 14827160
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Caches.SysCache.SysCache [(null)] <(null)> - Fetching object 'NHibernate-Cache:SourceNet.Data.DeData:14827160' from the cache.
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Cache.ReadWriteCache [(null)] <(null)> - Could not cache: 14827160
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Impl.SessionImpl [(null)] <(null)> - done materializing entity [SourceNet.Data.DeData#14827160]
2005-08-30 19:51:53,048 [508] DEBUG NHibernate.Impl.SessionImpl [(null)] <(null)> - resolving associations for: [SourceNet.Data.De#268]
The query works fine, but I'm wondering why it says it could not cache the object. Is this just a misleading log statement? Or is the object not being cached? What does this entry mean?