MyBaits_查询缓存02_Ehcache二级缓存
一、Ehcache二级缓存的开启
- 导入jar(https://github.com/mybatis/ehcache-cache/releases)

-
<cache type="org.mybatis.caches.ehcache.EhcacheCache"/>

二、使二级缓存不刷新

一、Ehcache二级缓存的开启

<cache type="org.mybatis.caches.ehcache.EhcacheCache"/>

二、使二级缓存不刷新
