skip to Main Content

How to use Redis as L2 cache on Hibernate?

I have a spring boot application and need to setup Redis as l2 cache on hibernate. My prop file looks like: spring.jpa.properties.hibernate.cache.region.factory_class = package.CustomRegionFactory spring.jpa.properties.hibernate.cache.redisson.fallback=false I created a custom region factory because I don't want to use json or yaml…

VIEW QUESTION

Problem with Redisson Hibernate 2L cache config in Spring MVC

I am trying to configure Redisson Hibernate 2L cache in Spring MVC project. I had follow tutorials, although most of them is devoted to Spring Boot. I have added dependencies in pom.xml file: <dependency> <groupId>org.redisson</groupId> <artifactId>redisson</artifactId> <version>3.12.0</version> </dependency> <dependency> <groupId>org.redisson</groupId>…

VIEW QUESTION
Back To Top
Search