ehcache-3 Questions
3
I'm migrating an app to use ehcache 3.10.0 but getting a build error: Could not find artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 in central (https://repo1.maven.org/maven2)
I see the fi...
3
Solved
I've been trying to find a way to implement second-level caching using Spring Boot 3 + Ehcache 3 + Hibernate 6 but it's been an unsuccessful ride so far.
I tried looking it up on the internet but n...
Inept asked 13/3, 2023 at 9:7
6
I tried to use EhCache 3.5 caching features in our web application based on Spring Boot 2/Spring Framework 5.
I added EHCache dependency:
<dependency>
<groupId>org.ehcache</group...
Rodl asked 1/3, 2018 at 10:21
2
Solved
There was a config called maxBytesLocalHeap in Ehcache 2.x where we could enter a heap percentage value. I couldn't find an equivalent in 3.x, but there's nothing about deprecation in release notes...
2
Solved
I need to initialize the Cache which needs to contain
String in key
List<Object> in value
So i have CacheHelper class which has
public class CacheHelper {
private CacheManager cacheMan...
2
Solved
For now I have following config:
@Configuration
@EnableCaching
public class EhcacheConfig {
@Bean
public CacheManager cacheManager() throws URISyntaxException {
return new JCacheCacheManager(Ca...
Helvetic asked 12/9, 2019 at 14:45
2
How to specify the disk path when the cache need to be saved in disk in ehcache 3.x version.It can be specified in ehcache 2.x version with <diskStore path="java.io.tmpdir/ehcache/" /> ,but i...
Amber asked 22/3, 2019 at 6:57
2
Solved
Context and question
I'm trying to configure EHCache with Hibernate in Spring Boot 2.2, but it seems I'm doing something wrong.
I've looked at several tutorials and SO questions but didn't find so...
Agrapha asked 10/1, 2020 at 9:48
0
I am using Springboot 2.1 and spring data-jpa for persistence using @RepositoryRestResource. I have enabled caching for my API calls and that works well with @Cacheable, But now I want to enable se...
Aletheaalethia asked 19/5, 2020 at 8:13
1
Solved
I tried to update to EhCache 3, but noticed that my AclConfig for spring-security-acl no longer works. The reason is EhCacheBasedAclCache still uses import net.sf.ehcache.Ehcache. EhCache moved to ...
Maratha asked 15/5, 2019 at 20:53
2
Solved
What is the difference between net.sf.ehcache and org.ehcache?
The current version of net.sf.ehcache is 2.10.5 whereas same for org.ehcache is 3.5.2.
Spring uses net.sf.ehcache's CacheManager, a...
2
Solved
I'm trying to setup Hibernate with EhCache as the second level cache but the TTL is not working.
Here are my dependencies:
<dependency>
<groupId>org.springframework.boot</groupId...
Agreement asked 24/5, 2019 at 14:31
3
Solved
For some reason, I can't add the expiry element into the ehcache3 configuration xml.
without the expiry element, it works fine.
<config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
x...
1
Solved
I'm trying to use Ehcache manager in my application. I would like to setup it without xml configuration.
I have next dependencies:
<dependency>
<groupId>org.ehcache</groupId>
&...
Adore asked 26/12, 2018 at 9:6
3
Solved
I'm using EHCache 3.5.2 and having trouble getting all cache keys and cache entries.
I am using the CacheManager to create a cache. I'm then populating it with some data. I'd then like to retrieve...
1
Solved
What I am trying to accomplish is to set up both TTL (time to live) and TTI (time to idle) for a cache, so that the key either expires after TTL time or it can be expired earlier in case in hasn't ...
1
© 2022 - 2024 — McMap. All rights reserved.