code-learning/学习指南/08-MyBatis 学习指南.md

84 lines
4.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 精尽 MyBatis 学习指南
# 视频
- [《MyBatis 视频教程全集》](https://www.bilibili.com/video/av59564271/?pikaqiu) 一共 235P 。
> **推荐~记得 b 站【收藏 + 点赞 + 投币】素质三连噢**。
>
> 本视频分成 A/B/C 三部分。
>
> - 【必选】A 部分MyBatis 篇) P01-P88
>
> MyBatis配置文件编写MyBatis动态SQLMyBatis缓存机制MyBatis-Spring整合MyBatis逆向工程MyBatis高级内容MyBatis源码解析MyBatis单/多插件运行机制MyBatis四大对象工作原理自定义TypeHandler、MyBatis存储过程&游标处理等)。 视频中会在重要的地方对比MyBatis操作MySQL以及Oracle之间的差异性。
>
> - 【可选】B 部分MyBatis-Plus 篇) P89-P178
>
> MyBatis-Plus是一款非常强大的MyBatis增强工具包,只做增强不做改变.在不用编写任何SQL语句的情况下即可以极其方便的实现单一、批量、分页等操作。本套教程基于MyBatis-Plus新2.3版本。
>
> - 【随意】C 部分(通用 Mapper 篇) P179-P235
>
> 通用Mapper是一款非常好用的MyBatis插件它能够帮助我们自动生成常用增删改查操作的SQL语句克服MyBatis开发过程中需要大量编写SQL语句的弊端。由于通用Mapper是根据实体类的属性自动生成对应的SQL语句所以可以说通用Mapper插件是对MyBatis在ORM方面不足的重要补充。
- [《SSM 整合视频教程全集》](https://www.bilibili.com/video/av59585780/?pikaqiu) 一共有 35P 。
> **推荐~记得 b 站【收藏 + 点赞 + 投币】素质三连噢**。
>
> 和《尚硅谷 Spring 视频教程》是同一个讲师。
- 源生活 [《通过自动回复机器人学 Mybatis — 基础版》](https://www.imooc.com/learn/154) 一共 4 小时 30 分钟。
- 源生活 [《通过自动回复机器人学Mybatis — 加强版》](https://www.imooc.com/learn/260) 一共 2 小时 43 分钟。
- 黑马程序员 [《黑马程序员 - mybatis》](https://www.bilibili.com/video/av17774929) 一共有 50P 。
上述的视频,是艿艿翻了下目前大家看的比较多的视频,利益无关哈。
# 书籍
[《MyBatis 书单整理》](http://www.iocoder.cn/Books/MyBatis-books-recommended)
- 刘增辉 [《MyBatis 从入门到精通》](https://book.douban.com/subject/27074809/) 豆瓣评分 7.2 分
- 杨开振 [《深入浅出 MyBatis 技术原理与实战》](https://book.douban.com/subject/26858114/) 豆瓣 5.2 分
- 徐郡明 [《MyBatis 技术内幕》](https://book.douban.com/subject/27087564/) 豆瓣评分 7.9 分 重源码
如果是为了入门学习,推荐第一本。
如果是为了阅读源码,推荐第三本。
# 文章
非常重要,一定一定一定认真看官方文档 [《MyBatis 官方文档》](http://www.mybatis.org/mybatis-3/zh/index.html) 。
- [《芋道 Spring Boot 数据库连接池入门》](http://www.iocoder.cn/Spring-Boot/datasource-pool/?vip) 对应 [lab-19](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-19)
- [《芋道 Spring Boot MyBatis 入门》](http://www.iocoder.cn/Spring-Boot/MyBatis/?vip) 对应 [lab-12-mybatis](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-12-mybatis)
- [《芋道 Spring Boot 多数据源(读写分离)入门》](http://www.iocoder.cn/Spring-Boot/dynamic-datasource/?vip) 对应 [lab-17](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-17)
- [《芋道 Spring Boot 分库分表入门》](http://www.iocoder.cn/Spring-Boot/sharding-datasource/?vip) 对应 [lab-18](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-18)
- 《芋道 Spring Boot 数据库版本管理入门》
对应
lab-20
- [《芋道 Spring Boot 数据表结构文档》](http://www.iocoder.cn/Spring-Boot/DB-Doc-screw/?vip) 对应 [lab-70-db-doc](https://github.com/YunaiV/SpringBoot-Labs/tree/master/lab-70-db-doc)
- [《性能测试 —— MySQL 基准测试》](http://www.iocoder.cn/Performance-Testing/MySQL-benchmark/?github)
- [《Spring Boot 整合 MyBatis》](http://www.iocoder.cn/Spring-Boot/didi/spring-boot-mybatis/?svip)
- [《Spring Boot 中使用 MyBatis 注解配置详解》](http://www.iocoder.cn/Spring-Boot/didi/spring-boot-mybatis-annotations/?svip)
- [《一起来学 SpringBoot 2.x | 第七篇:整合 Mybatis》](http://www.iocoder.cn/Spring-Boot/battcn/v2-orm-mybatis/?svip)
- [《Spring Boot 整合 Mybatis 的完整 Web 案例》](http://www.iocoder.cn/Spring-Boot/bysocket/spring-boot-mybatis-with-web-in-action/?svip)
- [《Spring Boot 整合 Mybatis Annotation 注解案例》](http://www.iocoder.cn/Spring-Boot/byscoket/spring-boot-mybatis-annotations-in-action/?svip)
- [《Spring Boot 整合 Mybatis 实现 Druid 多数据源配置》](http://www.iocoder.cn/Spring-Boot/byscoket/spring-boot-mybatis-with-druid?svip)