When I redeploy my application in tomcat, I get the following issue: The web application  created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@10d16b]) an...
This is what happens when I run my junit tests... Another CacheManager with same name 'cacheManager' already exists in the same VM. Please provide unique names for each CacheManager in the config or...
Ehcache talks about on-heap and off-heap memory. What is the difference? What JVM args are used to configure them?
Im working on developing a webapplication with Spring 3 and Hibernate 3.6. At the moment I try to understand how Caching with Spring and Hibernate works. I found some sources about Caching with Hibern...
Is there a way to initialize EhCache without xml in either Spring 4 or with Spring Boot? I noticed Spring Boot 1.0.0.RC3 doesn't have any ehcache dependencies but the Spring 4.0GA release post mentio...
I have a similar problem which but sometimes it works. The error described only happens once in a while. I am using spring 3.2.5 and ehcache 2.6.5. Exception trace: org.springframework.expression.s...
Using thoses JPA properties props.put( "hibernate.cache.use_query_cache", "true" ); props.put( "hibernate.cache.use_second_level_cache", "true" ); props.put("hibernate.temp.use_jdbc_metadata_default...
From the spring documentation : @Cacheable(value="bookCache", key="isbn") public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed) How can I specify @Cachable to use isbn and ch...
We have an application that uses Hibernate's 2nd level caching to avoid database hits. I was wondering if there is some easy way to invalidate the Java application's Hibernate 2nd level cache when a...
I found some instructions how to configure pure hibernate to use EHCache. But I can't find any instructions how to configure JPA2.0 EntityManager to use cache. Hibernate 3.5.2 is my JPA2.0 provider. ...