skip to Main Content

Using mongo and redis cache with both repositories in Spring Boot

I want to use both Redis and Mongo with repository manner (I do not want to use spring cache annotations but repository methods). I annotate the main class with the following annotations. @EnableMongoRepositories(basePackageClass = PersistencyRepository.class) @EnableRedisRepositories(basePackageClass = CacheRepository.class) @SpringBootApplication Repos…

VIEW QUESTION
Back To Top
Search