没有合适的资源?快使用搜索试试~ 我知道了~
Mybatis官网文档Mybatis官网文档Mybatis官网文档Mybatis官网文档
资源推荐
资源详情
资源评论
......................................................................................................................................
MyBatis
v. 3.2.0
User Guide
......................................................................................................................................
MyBatis.org 2013-02-20
Table of Contents
.......................................................................................................................................
1. Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
3. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
4. Configuration XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5. Mapper XML Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6. Dynamic SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
7. Java API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58
8. Statement Builders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
9. Logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
© 2 0 1 3 , M y B a t i s . o r g • A L L R I G H T S R E S E R V E D .
T a b l e o f C o n t e n t s
ii
© 2 0 1 3 , M y B a t i s . o r g • A L L R I G H T S R E S E R V E D .
1 I n t r o d u c t i o n
1
1 Introduction
.......................................................................................................................................
1.1 Introduction
1.1.1 What is MyBatis?
MyBatis is a first class persistence framework with support for custom SQL, stored procedures
and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of
parameters and retrieval of results. MyBatis can use simple XML or Annotations for configuration
and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
1.1.2 Help make this documentation better…
If you find this documentation lacking in any way, or missing documentation for a feature, then the
best thing to do is learn about it and then write the documentation yourself!
Sources of this manual are available in xdoc format at project's Git . Check them out, update them
and send your patch to the tracker .
You’re the best author of this documentation, people like you have to read it!
1.1.3 Translations
Users can read about MyBatis in following translations:
• English
• Español
• ###
• ###
• ####
Do you want to read about MyBatis in your own native language? Fill an issue providing patches with
your mother tongue documentation!
© 2 0 1 3 , M y B a t i s . o r g • A L L R I G H T S R E S E R V E D .
剩余63页未读,继续阅读
资源评论
LONOLY
- 粉丝: 4
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功