slow « Cache « JPA Q&A





1. OSCache - how is it supposed to work - Hibernate slow now...    forum.hibernate.org

I have under a few 'es which represent good ol' code tables. I have a list of object of type A which refer to these "code objects" which are cached. Yet, when I navigate from A to any of the code objects, hibernate generates SQL selects. This makes the call horribly slow to traverse (thousands of selects just for ...

2. 2nd level cache very slow compared to direct EHCache    forum.hibernate.org

Hibernate version: 3.1rc2 Hello, We used to cache some mappings from internal codes to texts, used intensively all over the application. Basically this cache was a direct global HashMap or a direct EHCache usage. Now I got the idea to redo this using Hibernate 2nd level read-only cache (based on EHCache), but I was quite dissapointed with its performance. Retrieving one ...

3. Cache updates to slow?    forum.hibernate.org

Regular Joined: Mon Jul 31, 2006 4:59 pm Posts: 53 Hibernate version: 3.2 I have a simple MySql5 Database. I am storing only some Data inside. The problem is that when i update Data or insert new Rows, my Hibernate-Query does not update the data in the same time! It needs some Seconds to notify that there is new/changed Data in ...

4. Second level cache is slow- no, really slow    forum.hibernate.org

Newbie Joined: Wed Apr 16, 2008 10:13 am Posts: 4 Hi, I'm trying to get my second level cache configured in Hibernate. I'm thinking of using EHCache, because eventually I'll be needing a distributed cache. I've come to the point where the second level cache is working. I've drawn that conclusion because there is no more SQL output after I've filled ...