mybatis设计
2019-07-04 11:38:41 0 举报
mybatis设计原理
作者其他创作
大纲/内容
BaseExcuror
+ doQuery(params)+ ...
DataSource
+ username+ password+ url+ driver
DefaultResultSetHandler
+ handleResultSets+ ...
CallableStatementHandler
+ query+ ...
SqlSessionFactoryBuilder
+ Configuration
+ build(InputStream in)
DefaultSqlSessionFactory
+ Configuration
+ openSqlSession()
Configuration
+ setEnvironment(param):+ addMappedStatement(param)
SimpleStatementHandler
SqlSource
+ getBoundSql(params)
StaticSqlSource
StatementHandler
SimpleExcutor
+ doQuery(param)+ ...
PreparedStatementHandler
ReuseExcutor
DefaultSqlSession
+ configuration
MappedStatement
+ sqlsource+ paramterType+ statementType+ resultType
VelocitySqlSource
XmlConfigBuilder
+ parser
BatchExcutor
SqlSessionFactory
DynamicSqlSource
XmlMapperBuilder
ResultSetHandler
Excutor
SqlSession
0 条评论
下一页