摘要: 简介:mybatis的批量操作减少数据库连接次数 一、mapper 使用foreach 遍历 一、mapper 使用foreach 遍历 批量insert: 批量update: 二、使用 mybatis ExecutorType.BATCH 使用步骤: (1)在全局配置文件applcationCon 阅读全文
posted @ 2019-07-22 15:57 北方有鱼 阅读(3645) 评论(0) 推荐(0) 编辑