一、Ehcache二级缓存的开启
- 导入jar(https://github.com/mybatis/ehcache-cache/releases)
-
<cache type="org.mybatis.caches.ehcache.EhcacheCache"/>
二、使二级缓存不刷新
一、Ehcache二级缓存的开启
<cache type="org.mybatis.caches.ehcache.EhcacheCache"/>
二、使二级缓存不刷新
原文:https://www.cnblogs.com/hoje/p/8124429.html