mybatis
ATwill...
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mybatis 批量删除
1. 按id集合删除 delete from BS_MATCHDATA where MATCHID in close=")" separator=","> #{item} 2.按对象集合删除 delete from BS_MATCHDATA where MATCHID in close=")" separator=","> #{item.matchid原创 2014-12-19 21:40:18 · 926 阅读 · 0 评论 -
java.sql.SQLException: 无法从套接字读取更多的数据(mybatis 插入时)
今天 做mybatis 的批量插入的时候 出现 java.sql.SQLException: 无法从套接字读取更多的数据 的错误 解决方法: 由于批量插入的数据过大,需要分批次的插入。 List insertList = new ArrayList(); for (IdentificationData domain : list) { insertList.add(d原创 2015-01-07 21:09:17 · 5105 阅读 · 0 评论
分享