update 关闭默认二级缓存 推荐使用 spring-cache 注解手动缓存

This commit is contained in:
疯狂的狮子li
2021-07-04 02:21:04 +08:00
parent c26073afeb
commit de194880ae
3 changed files with 4 additions and 3 deletions

View File

@ -158,7 +158,7 @@ mybatis-plus:
# STATEMENT 关闭一级缓存
localCacheScope: SESSION
# 开启Mybatis二级缓存默认为 true
cacheEnabled: true
cacheEnabled: false
# 更详细的日志输出 会有性能损耗
# logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config: