Spring Boot + JPA2 + Hibernate - enable second level cache

前端 未结 6 2140
悲&欢浪女
悲&欢浪女 2020-12-02 09:35

I\'m using Spring Boot 1.2.5 with JPA2 to annotate entities (and hibernate as underlaying JPA implementation).

I wanted to use second level cache in that setup, so e

6条回答
  •  猫巷女王i
    2020-12-02 09:40

    You can use third party cache provider, among JCache, Ehcache, Gvava Cache, Hazelcast Cache, Caffeine Cache.

    Please refer this answer on Quora to know how to enable and configure the second level cache in Spring boot.

提交回复
热议问题