org.apache.ibatis.session.SqlSession
MyBatis工作的主要顶层API,表示和数据库交互的会话。完毕必要数据库增删改查功能。
org.apache.ibatis.executor.Executor
MyBatis执行器,是MyBatis 调度的核心,负责SQL语句的生成和查询缓存的维护。
org.apache.ibatis.executor.statement.StatementHandler
封装了JDBC Statement操作。负责对JDBC statement 的操作。如设置參数、将Statement结果集转换成List集合。
org.apache.ibatis.executor.parameter.ParameterHandler
负责对用户传递的参数转换成JDBC Statement 所须要的参数。
org.apache.ibatis.executor.resultset.ResultSetHandler
负责将JDBC返回的ResultSet结果集对象转换成List类型的集合
org.apache.ibatis.type.TypeHandler
负责java数据类型和jdbc数据类型之间的映射和转换
org.apache.ibatis.mapping.MappedStatement
MappedStatement维护了一条<select|update|delete|insert>节点的封装
org.apache.ibatis.mapping.SqlSource
负责依据用户传递的parameterObject,动态地生成SQL语句,将信息封装到BoundSql对象中,并返回
org.apache.ibatis.mapping.BoundSql
表示动态生成的SQL语句以及对应的参数信息
org.apache.ibatis.session.Configuration
MyBatis全部的配置信息都维持在Configuration对象之中