![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyBatis
我有一根魔法棒
有问题,先百度。
展开
-
MyBatis中,使用foreach循环传入集合参数
上述代码例子表示的sql语句为:select *from user where id in (1,xx,xx,…)原创 2019-11-22 15:52:07 · 743 阅读 · 0 评论 -
MyBatis框架,使用where标签和使用if标签增加查询条件
原创 2019-11-21 15:20:22 · 1474 阅读 · 0 评论 -
MyBatis框架中,在配置文件中定义单个pojo类别名和使用包扫描的方式批量定义别名
原创 2019-11-20 16:03:13 · 815 阅读 · 0 评论 -
MyBatis框架中,mapper接口代理实现的编写规则
原创 2019-11-19 21:04:33 · 144 阅读 · 0 评论 -
MyBatis框架中,使用class属性引入接口的全路径名称的使用规则和例子
满足使用规则的1.2点原创 2019-11-19 21:01:38 · 291 阅读 · 0 评论 -
MyBatis框架中,需要返回数据库自主键时的代码样式
原创 2019-11-19 15:48:13 · 86 阅读 · 0 评论 -
MyBatis中,插入功能sql语句的配置
其中,user 后面括号里的username,birthday,sex,address,表示的数据库user表的字段名values括号的里的username,birthday,sex,address,表示的是User类里面的属性原创 2019-11-19 15:09:36 · 450 阅读 · 0 评论 -
MyBatis中,模糊查询语句配置代码格式
原创 2019-11-19 14:58:50 · 84 阅读 · 0 评论 -
MyBatis框架中,在SqlMapConfig.xml配置文件中引入其他配置文件的代码格式和使用包扫描方式批量引入Mapper接口
原创 2019-11-18 21:40:16 · 260 阅读 · 0 评论 -
MyBatis读取配置文件及创建SqlSessionFactory对象并调用实例
原创 2019-11-18 21:35:57 · 363 阅读 · 0 评论 -
MyBatis配置sql语句过程
原创 2019-11-18 20:55:28 · 81 阅读 · 0 评论