![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
一川.烟雨
这个作者很懒,什么都没留下…
展开
-
mybatis 插件
mybatis 批量插入插件 <plugin type="com.itfsw.mybatis.generator.plugins.BatchInsertPlugin"> <property name="allowMultiQueries" value="true"/> </plugin> <plugin type="org.mybatis.generator.plugins.UnmergeableXmlMappersPlug原创 2021-12-07 16:26:25 · 661 阅读 · 0 评论 -
mybatis禁用一级缓存
localCacheScope默认值是SESSION,此时默认开启一级缓存。 值为statement,就会每次请求读取数据库,不会读缓存原创 2021-05-12 21:23:05 · 438 阅读 · 0 评论