-->
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.  [ 1 post ] 
Author Message
 Post subject: hibernate & ehcache statistics inconsistency
PostPosted: Mon Aug 20, 2007 10:06 am 
Newbie

Joined: Mon Aug 20, 2007 9:24 am
Posts: 1
Hello,

I probably noticed incostistency between statistics shown by Hibernate and Ehcache JMX services.

After some operation (opening jsp page which involves entities load):
1. hibernate shows that in cache occurred 2 hits [CacheHits prop],
2. ehcache shows that it counted 434 hits [SecondLevelCacheHitCount prop].

IMHO both properties should show the same values as Hibernate uses EHCache in background.
From my point of view value showed by Hibernate is far too low.

Does anyone encountered simillar problem?? Is there any sensible explanation for such behavior of both hit counters??

Many thanks in advance for your help.

Greetings
GT

I use hibernate3-3.2.1.jar and ehcache-1.3.0.jar.


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

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.