- flushCache默认为false(select),表示任何时候语句被调用,都不会去清空本地缓存和二级缓存。
- 但是在insert、update、delete语句时: flushCache默认为true,表示任何时候语句被调用,都会导致本地缓存和二级缓存被清空。
参考自:https://blog.csdn.net/u014749862/article/details/80297943
参考自:https://blog.csdn.net/u014749862/article/details/80297943