Mybatis 使用到了两种缓存:本地缓存(local cache)和二级缓存(second level cache)。
local cache是一级缓存,是session范围缓存,靠近数据库。
二级缓存是全局缓存,是mapper范围缓存,靠近程序。
https://www.cnblogs.com/jtlgb/p/6037945.html
Mybatis 使用到了两种缓存:本地缓存(local cache)和二级缓存(second level cache)。
local cache是一级缓存,是session范围缓存,靠近数据库。
二级缓存是全局缓存,是mapper范围缓存,靠近程序。
https://www.cnblogs.com/jtlgb/p/6037945.html