-->
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: cachehit = requires connection when using L2 cache
PostPosted: Wed Jul 09, 2008 9:14 am 
Newbie

Joined: Wed Jul 09, 2008 9:03 am
Posts: 1
Hi,

We are using hibernate 3.2 + eHCache as L2 cache

We are noticing that even though we have a cache hit hibernate is still trying to make use of a connection. Hibernate gets the connection first then fullfills the request from the cache and releases the connection.

We are using Tomcat connection poll and Oracle OCI driver.

The rest of application is WAITING on these threads (Viewed using JConsole Thread Viewer) when the load increases

Note the data is read only and we populate the cache at application startup, after that its 100% cache hit.

Is there any way of stopping this behaviour?

Thanks for your response.
Cheers
Jem


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.