MyBatis(ibatis)培训
MyBatis(ibatis)培训
培训大纲:
简介
什么是 MyBatis?
Help make this documentation better…
入门
Installation
从 XML 中构建 SqlSessionFactory
不使用 XML 构建 SqlSessionFactory
从 SqlSessionFactory 中获取 SqlSession
探究已映射的 SQL 语句
范围和生命周期 .
XML 映射配置文件
properties
settings
typeAliases
typeHandlers
Handling Enums
objectFactory
plugins
environments
databaseIdProvider
mappers
Mapper XML 文件
select
insert, update and delete
sql
Parameters
Result Maps
Auto-mapping
缓存
动态 SQL
if
choose, when, otherwise
trim, where, set
foreach
bind
Multi-db vendor support
Pluggable Scripting Languages For Dynamic SQL
Java API
应用目录结构
SqlSessions
Statement Builders
SelectBuilder
SqlBuilder
Logging
Logging Configuration