-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Log entry - Could not cache
PostPosted: Tue Aug 30, 2005 10:08 pm 
Regular
Regular

Joined: Tue May 24, 2005 12:55 pm
Posts: 56
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 10, 2005 3:17 pm 
Beginner
Beginner

Joined: Wed Jun 29, 2005 10:40 am
Posts: 30
Location: denver, co
I too am getting this log message, even when the object is successfully cached.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.