Skip to content

《深入浅出 MyBatis 技术原理与实战》学习项目源码,加3.5.2版本的源码注释。源码注释来自 https://github.com/yeecode/MyBatisCN

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license.txt
Notifications You must be signed in to change notification settings

sxudong/MyBatis-3.5.2

Repository files navigation

源码来自mybatis-3 稳定版 3.5.2。 源码注解来自:https://github.com/yeecode/MyBatisCN ,该MybatisCN项目对MyBatis中的20包中300多个类进行了注释。

用例代码来自《深入浅出MyBatis技术原理与实战》书中。 根据 https://blog.csdn.net/lonelymanontheway/article/details/79593433 博客提供的 https://github.com/johnnywong233/mybatis_all 代码整理。

开发工具:IDEA

开发环境:Java8

简介

《深入浅出 MyBatis 技术原理与实战》学习项目源码

目录

第一章《MyBatis 简介》

传统的 JDBC 编程示例、使用 Hibernage 编程示例、使用 MyBatis 编程示例

第二章《MyBatis 入门》

构建SqlSessionFactory、创建SqlSession、映射器Mapper

第三章《配置》

properties属性、settings设置、typeAliases别名、typeHandler类型处理器、ObjectFactory对象工厂、 environments环境配置、databaseIdProvider数据库厂商标识

第四章《映射器》

select元素、insert元素、update和delete元素、sql元素、resultMap结果映射集

第五章《动态SQL》

if元素、choose、when、otherwise元素、trim、where、set元素、foreach元素、test元素、bind元素

第六章《MyBatis 的解析和运行原理》

Java反射技术、JDK动态代理、Cglib动态代理、构建SqlSessionFactory过程、SqlSession运行过程

第七章《插件》

插件接口、常用工具类:MetaObject、插件开发过程及实例

第八章《MyBatis-Spring》

Spring基础、MyBatis集成Spring、SSM框架实例

第九章《实用的场景》

数据库Blob字段读写、插件分页、在映射中使用枚举

About

《深入浅出 MyBatis 技术原理与实战》学习项目源码,加3.5.2版本的源码注释。源码注释来自 https://github.com/yeecode/MyBatisCN

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages