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
|