Mybatis 使用到了两种缓存:本地缓存(local cache)和二级缓存(second level cache)。
local cache是一级缓存,是session范围缓存,靠近数据库。
二级缓存是全局缓存,是mapper范围缓存,靠近程序。
https://www.cnblogs.com/sword-successful/p/7468754.html
https://blog.csdn.net/luanlouis/article/details/41408341
Mybatis 使用到了两种缓存:本地缓存(local cache)和二级缓存(second level cache)。
local cache是一级缓存,是session范围缓存,靠近数据库。
二级缓存是全局缓存,是mapper范围缓存,靠近程序。
https://www.cnblogs.com/sword-successful/p/7468754.html
https://blog.csdn.net/luanlouis/article/details/41408341