-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
511 lines (508 loc) · 24.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
<!DOCTYPE html>
<html>
<head>
<meta charSet="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>MyBatis 工具 · 分页插件 PageHelper、通用 Mapper</title>
<meta name="viewport" content="width=device-width" />
<meta name="generator" content="Docusaurus" />
<meta property="og:title" content="MyBatis 工具 · 分页插件 PageHelper、通用 Mapper" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mybatis3.github.io/index.html" />
<meta property="og:description" content="分页插件 PageHelper、通用 Mapper" />
<meta property="og:image" content="https://mybatis3.github.io/img/docusaurus.png" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:image" content="https://mybatis3.github.io/img/docusaurus.png" />
<link rel="shortcut icon" href="/img/favicon.png" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css" />
<script type="text/javascript" src="https://buttons.github.io/buttons.js"></script>
<link rel="stylesheet" href="/css/main.css" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1797264872895352" crossorigin="anonymous"></script>
</head>
<body class="separateOnPageNav">
<div class="fixedHeaderContainer">
<div class="headerWrapper wrapper">
<header><a href="/"><img class="logo" src="/img/docusaurus.svg" alt="MyBatis 工具" />
<h2 class="headerTitleWithLogo">MyBatis 工具</h2>
</a>
<div class="navigationWrapper navigationSlider">
<nav class="slidingNav">
<ul class="nav-site nav-site-internal">
<li class=""><a href="/downloads.html" target="_self">资源下载</a></li>
<li class=""><a href="/plugins.html" target="_self">其他插件</a></li>
<li class=""><a href="/samples.html" target="_self">示例项目</a></li>
<li class=""><a href="/donates.html" target="_self">捐赠列表</a></li>
</ul>
</nav>
</div>
</header>
</div>
</div>
<div class="navPusher">
<div>
<div class="homeContainer">
<div class="homeSplashFade">
<div class="wrapper homeWrapper">
<div class="projectLogo"><img src="/img/docusaurus.svg" /></div>
<div class="inner">
<h2 class="projectTitle">MyBatis 工具<small>分页插件 PageHelper、通用 Mapper</small></h2>
<div class="section promoSection">
<div class="promoRow">
<div class="pluginRowBlock"><a target="_blank"
href="https://qm.qq.com/cgi-bin/qm/qr?k=uKSCRV38Avuoun6a0N1irta2X_KJdNs3&jump_from=webapi"><img
border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="MyBatis工具交流"
title="MyBatis工具交流"></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="mainContainer">
<div class="container paddingBottom paddingTopbook lightBackground" id="book">
<div class="wrapper">
<div class="gridBlock">
<div class="blockElement alignCenter imageAlignSide imageAlignLeft twoByGridBlock">
<div class="blockImage miniShow"><img src="/img/book-small.png" /></div>
<div class="blockContent">
<h2>
<div><span>
<p>MyBatis 从入门到精通</p>
</span></div>
</h2>
<div class="mdContent"><span>
<p>
<div><span>
<p>本书中从一个简单的 MyBatis 查询入手,搭建起学习 MyBatis 的基础开发环境。 通过全面的示例代码和测试讲解了在 MyBatis XML
方式和注解方式中进行增、删、改、查操作的基本用法,介绍了动态 SQL 在不同方面的应用以及在使用过程中的最佳实践方案。 针对 MyBatis
高级映射、存储过程和类型处理器提供了丰富的示例,通过自下而上的方法使读者更好地理解和掌握MyBatis 的高级用法,同时针对 MyBatis 的代码生成器提供了详细的配置介绍。
此外,本书还提供了缓存配置、插件开发、Spring、Spring Boot 集成的详细内容。 最后通过介绍 Git 和 GitHub 让读者了解MyBatis 开源项目,通过对
MyBatis 源码和测试用例的讲解让读者更好掌握 MyBatis。</p>
</span></div>
</p>
</span></div>
<div class="section promoSection">
<div class="promoRow">
<div class="pluginRowBlock">
<div class="pluginWrapper buttonWrapper"><a class="button"
href="https://blog.csdn.net/isea533/article/details/73555400" target="_blank">试读章节</a></div>
<div class="pluginWrapper buttonWrapper"><a class="button" href="/downloads.html"
target="_blank">资源下载</a></div>
<div class="pluginWrapper buttonWrapper"><a class="button"
href="https://item.jd.com/12103309.html" target="_blank">京东</a></div>
<div class="pluginWrapper buttonWrapper"><a class="button"
href="http://product.dangdang.com/25098208.html" target="_blank">当当</a></div>
<div class="pluginWrapper buttonWrapper"><a class="button"
href="https://www.amazon.cn/MyBatis%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E7%B2%BE%E9%80%9A-%E5%88%98%E5%A2%9E%E8%BE%89/dp/B072RC11DM/ref=sr_1_18?ie=UTF8&qid=1498007125&sr=8-18&keywords=mybatis"
target="_blank">亚马逊</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container paddingBottom paddingTop" id="pagehelper">
<div class="wrapper">
<div class="lib-title">
<h2>分页插件 PageHelper</h2>
</div>
<div class="version">
<div class="version-title">
<h4>com.github.pagehelper/pagehelper</h4>
</div>
<div class="version-img"><a
href="https://maven-badges.herokuapp.com/maven-central/com.github.pagehelper/pagehelper"><img
src="https://maven-badges.herokuapp.com/maven-central/com.github.pagehelper/pagehelper/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="version">
<div class="version-title">
<h4>com.github.pagehelper/pagehelper-spring-boot-starter</h4>
</div>
<div class="version-img"><a
href="https://maven-badges.herokuapp.com/maven-central/com.github.pagehelper/pagehelper-spring-boot-starter"><img
src="https://maven-badges.herokuapp.com/maven-central/com.github.pagehelper/pagehelper-spring-boot-starter/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="gridBlock">
<div class="blockElement pagehelper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p>源码地址 <a href="https://github.com/pagehelper/Mybatis-PageHelper">GitHub</a> && <a
href="https://gitee.com/free/Mybatis_PageHelper">Gitee</a></p>
</span></div>
</h2>
<div><span>
<p>两个仓库数据同步,可以根据自己的需要选择,同时支持 issue 和 pr</p>
</span></div>
</div>
</div>
<div class="blockElement pagehelper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a
href="https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/HowToUse.md">如何使用?</a>
</p>
</span></div>
</h2>
<div><span>
<p>循序渐进,一步一步配置分页插件</p>
</span></div>
</div>
</div>
<div class="blockElement pagehelper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a
href="https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/Changelog.md">更新日志</a>
</p>
</span></div>
</h2>
<div><span>
<p>更新日志中包含了很多还没有完善到文档中的功能,使用遇到的问题时,可以先在更新日志查看</p>
</span></div>
</div>
</div>
</div>
</div>
</div>
<div class="container lightBackground paddingBottom paddingTop" id="mapper">
<div class="wrapper">
<div class="lib-title">
<h2>通用 Mapper</h2>
</div>
<div class="version">
<div class="version-title">
<h4>tk.mybatis/mapper</h4>
</div>
<div class="version-img"><a href="https://maven-badges.herokuapp.com/maven-central/tk.mybatis/mapper"><img
src="https://maven-badges.herokuapp.com/maven-central/tk.mybatis/mapper/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="version">
<div class="version-title">
<h4>tk.mybatis/mapper-spring-boot-starter</h4>
</div>
<div class="version-img"><a
href="https://maven-badges.herokuapp.com/maven-central/tk.mybatis/mapper-spring-boot-starter"><img
src="https://maven-badges.herokuapp.com/maven-central/tk.mybatis/mapper-spring-boot-starter/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="gridBlock">
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p>源码地址 <a href="https://github.com/abel533/Mapper">GitHub</a> && <a
href="https://gitee.com/free/Mapper">Gitee</a></p>
</span></div>
</h2>
<div><span>
<p>两个仓库数据同步,可以根据自己的需要选择,同时支持 issue 和 pr</p>
</span></div>
</div>
</div>
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/abel533/Mapper/wiki">官方文档</a></p>
</span></div>
</h2>
<div><span>
<p>文档非常全面,使用时注意查看文档</p>
</span></div>
</div>
</div>
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/abel533/Mapper/wiki/1.integration">集成通用 Mapper</a></p>
</span></div>
</h2>
<div><span>
<p>Java 编码方式集成 && Spring 集成 && Spring Boot 集成</p>
</span></div>
</div>
</div>
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/abel533/Mapper/wiki/2.orm">对象关系映射</a></p>
</span></div>
</h2>
<div><span>
<p>通用 Mapper 使用 JPA 注解和自己提供的注解来实现对象关系映射,由于本章包含了很多细节,所以通过简单的示例先引领入门,然后在一步步深入去看详细的配置。</p>
</span></div>
</div>
</div>
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/abel533/Mapper/wiki/3.config">配置介绍</a></p>
</span></div>
</h2>
<div><span>
<p>由于数据库存在各种各样的差异,因此有些时候要做一些必要的配置。此外通用 Mapper 还提供了一些控制参数和一些和主键策略相关的参数。</p>
</span></div>
</div>
</div>
<div class="blockElement mapper alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/abel533/Mapper/wiki/faq">常见问题</a></p>
</span></div>
</h2>
<div><span>
<p>遇到任何问题请先看这里</p>
</span></div>
</div>
</div>
</div>
</div>
</div>
<div class="container paddingBottom paddingTop" id="pay">
<div class="wrapper">
<div class="donate">
<h2>捐赠</h2>
</div>
<div class="donate-content">
<h3>项目的发展离不开你的支持,请作者喝杯咖啡吧!</h3>
</div>
<div class="gridBlock">
<div class="blockElement ewm pay alignCenter imageAlignTop twoByGridBlock">
<div class="blockImage"><img src="/img/wx_pay.png" /></div>
<div class="blockContent">
<h2>
<div><span>
<p>微信二维码</p>
</span></div>
</h2>
<div></div>
</div>
</div>
<div class="blockElement ewm pay alignCenter imageAlignTop twoByGridBlock">
<div class="blockImage"><img src="/img/ali_pay.png" /></div>
<div class="blockContent">
<h2>
<div><span>
<p>支付宝二维码</p>
</span></div>
</h2>
<div></div>
</div>
</div>
</div>
<div class="donate-list">
<div class="pluginWrapper buttonWrapper"><a class="button" href="/donates.html" target="_blank">捐赠列表</a>
</div>
</div>
</div>
</div>
<div class="container lightBackground paddingBottom paddingTop" id="blog">
<div class="wrapper">
<div class="blog-recommend">
<h2>推荐阅读文章</h2>
</div>
<div class="gridBlock">
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/isea533/article/details/44002219">深入了解 MyBatis 参数</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/isea533/article/details/45640319">MyBatis-Spring 配置简单了解</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/isea533/article/details/46442067">深入了解 MyBatis 返回值</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/isea533/article/details/42102297">Mybatis Geneator 详解</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/column/details/mybatisqa.html">MyBatis 问题集</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://mbg.cndocs.tk/">MyBatis Geneator 中文文档</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div><span>
<p><a href="http://blog.csdn.net/column/details/mybatis-sample.html">MyBatis 示例</a></p>
</span></div>
</div>
</div>
<div class="blockElement blog alignCenter twoByGridBlock">
<div class="blockContent">
<div></div>
</div>
</div>
</div>
</div>
</div>
<div class="container paddingBottom paddingTop" id="mybatis">
<div class="wrapper">
<div class="lib-title">
<h2>MyBatis 官方内容</h2>
</div>
<div class="version">
<div class="version-title">
<h4>org.mybatis/mybatis</h4>
</div>
<div class="version-img"><a
href="https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis"><img
src="https://maven-badges.herokuapp.com/maven-central/org.mybatis/mybatis/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="gridBlock">
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/mybatis/mybatis-3">源码地址</a></p>
</span></div>
</h2>
<div><span>
<p>想要更近一步,尝试看看源码</p>
</span></div>
</div>
</div>
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="http://www.mybatis.org/mybatis-3/zh/index.html">官方文档</a></p>
</span></div>
</h2>
<div><span>
<p>如果使用最新版本,建议看英文文档,中文文档也推荐看</p>
</span></div>
</div>
</div>
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="http://www.mybatis.org/spring/index.html">MyBatis Spring 官方文档</a></p>
</span></div>
</h2>
<div><span>
<p>和 Spring 集成的文档,包含很多细节</p>
</span></div>
</div>
</div>
</div>
</div>
</div>
<div class="container lightBackground paddingBottom paddingTop" id="mybatis">
<div class="wrapper">
<div class="lib-title">
<h2>Spring Boot Support for MyBatis</h2>
</div>
<div class="version">
<div class="version-title">
<h4>org.mybatis.spring.boot/mybatis-spring-boot</h4>
</div>
<div class="version-img"><a
href="https://maven-badges.herokuapp.com/maven-central/org.mybatis.spring.boot/mybatis-spring-boot"><img
src="https://maven-badges.herokuapp.com/maven-central/org.mybatis.spring.boot/mybatis-spring-boot/badge.svg"
alt="Maven central" /></a></div>
</div>
<div class="gridBlock">
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/mybatis/spring-boot-starter">源码地址</a></p>
</span></div>
</h2>
<div></div>
</div>
</div>
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a
href="http://www.mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/">官方文档</a>
</p>
</span></div>
</h2>
<div></div>
</div>
</div>
<div class="blockElement mybatis alignCenter threeByGridBlock">
<div class="blockContent">
<h2>
<div><span>
<p><a href="https://github.com/mybatis/spring-boot-starter/wiki/Quick-Start">快速开始</a></p>
</span></div>
</h2>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="nav-footer" id="footer">
<section class="sitemap"><a href="/" class="nav-home"><img src="/img/docusaurus.svg" alt="MyBatis 工具" width="66"
height="58" /></a>
<div>
<h5>文档</h5><a href="https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/HowToUse.md"
target="_blank">如何使用分页插件?</a><a href="https://github.com/abel533/Mapper/wiki" target="_blank">如何使用通用
Mapper?</a><a href="http://mybatis.github.io/mybatis-3/index.html" target="_blank">MyBatis 文档</a><a
href="http://www.mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure/" target="_blank">MyBatis
Starter 文档</a><a href="https://mybatis.github.io/spring/index.html" target="_blank">MyBatis Spring 文档</a>
</div>
<div>
<h5>社区</h5><a
href="http://shang.qq.com/wpa/qunwpa?idkey=c36b92f02329b7d2f6510dc351a74becf602835956d57e8a92d229885673c310"
target="_blank">加入 QQ 群</a><a href="https://gitter.im/mybatis-3/Lobby" target="_blank">Chat On Gitter</a><a
href="https://github.com/mybatis-book/book/issues" target="_blank">GitHub Issue</a><a
href="http://tieba.baidu.com/f?kw=mybatis" target="_blank">贴吧</a>
</div>
<div>
<h5>更多</h5><a href="https://blog.csdn.net/isea533" target="_blank">偶尔记一下</a><a
href="https://github.com/abel533" target="_blank">GitHub</a>
</div>
</section><a href="https://code.facebook.com/projects/" style="display:none" target="_blank"
rel="noreferrer noopener" class="fbOpenSource"><img src="/img/oss_logo.png" alt="Facebook Open Source"
width="170" height="45" /></a>
<section class="copyright">Copyright © 2019 abel533@gmail.com </section>
</footer>
</div>
</body>
</html>