cache « Connection « JPA Q&A





1. is database connection information cached?    forum.hibernate.org

Hi, I tried searching, and I could not find a solution to this problem. I'm using Hibernate 3.3.2 with MySQL 5.0.45, Java 1.6.0_26, and jdbc 5.1.16. Normally, everything works fine. I can connect to my database, run my queries, and get my results. However, I ran into a situation after I started putting tables in different databases. I'm getting the following ...

2. Caching and the creation of new DB Connections    forum.hibernate.org

I am using hibernate for a web based project with lots of referance data which will only change a bit every few days. So, I plan on using the second level cache. I am using a Session per request. I would like to know when/if hibernate would get a database connection if all I am doing is reading data from the ...

3. cachehit = requires connection when using L2 cache    forum.hibernate.org

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 ...