1 Star 0 Fork 6

xutuo / mybatis

forked from Monkey / mybatis 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

#Mybatis

徒手实现mybatis,更加方便我们对mybatis的理解

Java源码交流兵团

技术交流


mybatis

  • Java互联网技术QQ群:940577921(备注:11) Java源码交流兵团

核心技术


  • Configuration、 SqlSessionFactory 、Session、 Executor、MappedStatement、StatementHandler、ResultSetHandler
  • 名称意义 Configuration 管理mysql-config.xml全局配置关系类 SqlSessionFactory Session管理工厂接口 Session SqlSession是一个面向用户(程序员)的接口。SqlSession中提供了很多操作数据库的方法 Executor 执行器是一个接口(基本执行器、缓存执行器) 作用:SqlSession内部通过执行器操作数据库 MappedStatement 底层封装对象 作用:对操作数据库存储封装,包括 sql语句、输入输出参数 StatementHandler 具体操作数据库相关的handler接口 ResultSetHandler 具体操作数据库返回结果的handler接口 mybatis

Empty file

About

手写实现mybatis 。Java互联网技术交流QQ群:940577921(备注:11) expand collapse
Java
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/xutuos/mybatis.git
git@gitee.com:xutuos/mybatis.git
xutuos
mybatis
mybatis
master

Search