Reference « Cache « JPA Q&A





1. Hibernate Cache Reference    stackoverflow.com

I'm looking for a simple, complete, concise listing of the caches you will run into coding JPA with Hibernate. In particular I'd like to know for each cache, the lifecycle of the ...

2. caching for reference data    forum.hibernate.org

Hi, We have a web application which populates reference data dropdowns from DB (such as country list, state list etc). We are using simple hibernate mapping with list queries. We are not using any collections and all our domain objects are simple java objects. We have enabled second level caching & query caching & setting "setCacheable" to true for the select ...

3. Second level cache on the object reference    forum.hibernate.org

4. net.sf.hibernate.AssertionFailure: cannot cache a reference    forum.hibernate.org

to an object with a null id. i have a thursday deadline. what is going on? i searche for this in the archives but found nothing. we have been using hibernate 2.0.3, but i just switched to 2.1 because i wanted to use createSqlQuery, now, i am getting this exception. 23:57:47,321 [tcpConnection-9090-0] ERROR AssertionFailure:20 - An AssertionFailure occured - this may ...

5. Cache Results: Copy or Reference???    forum.hibernate.org

6. circular reference cache problem    forum.hibernate.org

Newbie Joined: Thu Aug 12, 2004 10:27 am Posts: 17 Hibernate version: 2.1.6 Name and version of the database you are using:postgresql 7.2 Hi, I have a Category class that has a circular reference to itselft. I am using the second-level ehcache cache on this class. The problem is: when I load a Category instance by id, a strange NullPointerException happens ...

7. Obtain reference to second level cache implementation    forum.hibernate.org

I'd like to get a reference to the second level cache vendor implementation to perform administrative functions...beyond the evict ability of the Hibernate API. I can't seem to find an API that supports this function. Is there a way to obtain it? Is there a reason not to expose it?...such as potential data integrity/transaction problems?