![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
大大的笑声
这个作者很懒,什么都没留下…
展开
-
mybatis简述
原创 2019-06-16 13:32:15 · 156 阅读 · 0 评论 -
mybatis n对n关系
原创 2019-06-17 15:40:31 · 254 阅读 · 0 评论 -
Mybatis对于批量插入的支持
方式: 1.借助foreach标签使用 insert into table values() / select * from table where id in<select id="getPersonByArray2" resultType="Person"> select * from person where id in <...原创 2019-07-27 10:10:56 · 275 阅读 · 0 评论 -
Mybatis批量插入
public void testBatchForExecutor() { SqlSession sqlSession = getSqlSessionFactory ().openSession (ExecutorType.BATCH); for (int i=0;i<1000;i++) ...原创 2019-07-27 10:42:16 · 72 阅读 · 0 评论