1-mybatis-概览

mybatis 当前包如下:

 

1 annotations 注解相关配置

2 binding 绑定

3 builder 建造器, 主要使用的建造者模式

4 cache 缓存相关

5 cursor 游标

6  datasource 数据源 定义了一个DataSourceFactory及其实现类

7 exceptions 异常类,包括 ExceptionFactory PersistenceException TooManyResoultsException

8 executor 执行器

9 io 

10 javassist 动态代理

11 jdbc

12 lang

13 logging 日志相关包括 jdk14 log4j log4j2 slf4j nologging

14 mapping 映射

15 ognl

16 parsing

17 plugin

18 reflection 反射

19 scripting 脚本

20 session

21 transaction 事务

22 type 类型转换

参考:

https://github.com/xpenxpen/mybatis-3

http://www.mybatis.org/mybatis-3/zh/getting-started.html

原文地址:https://www.cnblogs.com/zyzl/p/11397349.html