Spring 中开启Mybatis缓存

mybatis的一级缓存默认是开启的,二级缓存开启的方法: 在每个Mapper.xml文件中加入一个

原文地址:https://www.cnblogs.com/linlf03/p/11170503.html