上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
  2020年11月29日
摘要: 其他具体代码接上文-》mybatis自定义处理器 1.导入坐标 com.github.pagehelper ... 阅读全文
posted @ 2020-11-29 10:09 凸凸大军的一员 阅读(84) 评论(0) 推荐(0)
  2020年11月28日
摘要: 类型转换器:mybatis中有一些常用的类型转换器,比如把Java中的short类型转换为mysql中的short类型;但是如果现在... 阅读全文
posted @ 2020-11-28 16:57 凸凸大军的一员 阅读(119) 评论(0) 推荐(0)
摘要: 1.抽取之前的UserMapper.xml 2.抽取之后的UserMapper.xml select * f... 阅读全文
posted @ 2020-11-28 15:06 凸凸大军的一员 阅读(185) 评论(0) 推荐(0)
摘要: foreach UserMapper.xml 测试 @Test public void test1() th... 阅读全文
posted @ 2020-11-28 15:00 凸凸大军的一员 阅读(40) 评论(0) 推荐(0)
摘要: 因为在很多业务逻辑复杂的项目中,往往不是简单的sql语句就能查询出来自己想要的数据,所有mybatis引入了动态sql语句, Use... 阅读全文
posted @ 2020-11-28 14:31 凸凸大军的一员 阅读(52) 评论(0) 推荐(0)
摘要: 1.代理方式开发是主流 2.Mapper接口开发方法只需要编写Mapper接口(相当于Dao接口),然后由Mybatis根据接口创建... 阅读全文
posted @ 2020-11-28 09:39 凸凸大军的一员 阅读(63) 评论(0) 推荐(0)
  2020年11月27日
摘要: 其他具体代码请访问-》mybatis的快速入门 1.在mybatis核心配置文件SqlMapperConfig.xml中配置别名 ... 阅读全文
posted @ 2020-11-27 18:51 凸凸大军的一员 阅读(242) 评论(0) 推荐(0)
摘要: 接上文-》Mybatis快速入门《- 1.在UserMapper.xml配置更新和删除 update use... 阅读全文
posted @ 2020-11-27 12:27 凸凸大军的一员 阅读(151) 评论(0) 推荐(0)
摘要: 对上文-》Mybatis快速入门-《进行代码修改 1.在UserMapper.xml中添加插入操作 inse... 阅读全文
posted @ 2020-11-27 12:08 凸凸大军的一员 阅读(121) 评论(0) 推荐(0)
摘要: 1.添加Mybatis的坐标 org.mybatis mybatis 3.4.6 2.创建... 阅读全文
posted @ 2020-11-27 11:01 凸凸大军的一员 阅读(56) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页