ehcache
hibernate cached query not updated when new record inserted
We have a EHCache cluster, hibernate and Mysql. Everything is working almost fine. Criteria searches are being cached and when records are modified on other members of the clusters the cached queries[详细]
2023-03-22 04:05 分类:问答Memory leak during in hibernate search
Greeting, We are facing memory leak issue recently on one of our apps. Development environment : Lucene2.4.0, hibernate search3.2.0, hibernate 3.5.0, spring2.5 and ehcache 1.4.1[详细]
2023-03-21 09:10 分类:问答How can I set a custom KeyGenerator for Spring Cache?
I\'m using Spring 3.1 and I want to use the new cache features. Then, I tried: <cache:annotation-driven />[详细]
2023-03-21 04:26 分类:问答Using JPA 2.0 @Cacheable in J2SE with Spring, EHCache and Hibernate, without Hibernate specific annotations
I am trying to get JPA 2.0 Caching working in my Spring 3.0.5 application which uses Hibernate and EhCache. I do not wish to have my application bound to Hibernate and EhCache and wish to have it make[详细]
2023-03-20 07:47 分类:问答Ehcache how to remove keys when element is expired?
I\'m trying to get only valid objects from the cache.if I do List list = cache.getKeys(); it will return keys that are expired too.I though of adding a listener and try to remove the key myself, but m[详细]
2023-03-19 09:07 分类:问答Multiple ehcache.xml in classpath
What will happen if there are multiple ehcache.xml f开发者_C百科iles in the classpath? Which one will be picked up?That will depend on CLASSLOADING. Whichever is found first in CLASSPATH will be loade[详细]
2023-03-19 03:37 分类:问答EHCache write-behind possible issue if system crashes
New to caching... I was looking into Spring\'s EHCache and I found its \"write-behind\" new feature very interesting. Data is written to the cache first and then to the underlying database in an asyn[详细]
2023-03-19 02:13 分类:问答Integrating ehcache with spring 3.0
I have an applicat开发者_StackOverflow社区ion in which I use spring 3.0.2 and ibatis. Now, I need to integrate ehcache with my code. I triedthis link but couldnt get it working. I would prefer someone[详细]
2023-03-17 14:52 分类:问答Optimizing Web application showing a worklist via hibernate and 2nd level cache (ehcache, etc)
We have an application that is receiving constant queries for a \'worklist\' which consists of frequently updated data which is populated in the db by a SOA background process. Thousands of users have[详细]
2023-03-16 19:03 分类:问答jgroup members can't join?
I use a ehcache that distributes via jgroups. I use UDP multicat for the distribution. The ehcache lives within a webapp. There are several machines that run that webapp. For some reason I get a WARN[详细]
2023-03-16 06:53 分类:问答