![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis学习
文章平均质量分 93
yeyuangongzuoshi
这个作者很懒,什么都没留下…
展开
-
Mybatis进阶
Mybatis进阶 1.分页: 7.1使用limit分页 sql: select * from user limit 0,1 Mybatis实现: 在Usermapper.xml下加入 <resultMap id="userbylimit" type="user"> <result column="pwd" property="passwd"></result> </resultMap> <select id="getUserListlimi原创 2021-03-04 15:38:31 · 137 阅读 · 1 评论 -
Mybatis配置优化
Mybatis 配置优化 1.环境配置 可以有好几套环境配置 <environments default="development"> <environment id="development"> <transactionManager type="JDBC"/> <dataSource type="POOLED"> <property name="driver" value="${driv原创 2021-03-02 17:38:00 · 127 阅读 · 0 评论 -
Mybatis搭建
Mybatis学习 发现学完东西老忘还得重看一遍视频 所以记录一下 第一步 首先在maven下面加入依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven原创 2021-02-27 19:50:01 · 91 阅读 · 1 评论