Introduction to the

MyBatis is an excellent persistence layer framework that supports customized SQL, stored procedures, and advanced mapping. MyBatis avoids almost all of the JDBC code and manual setting of parameters and fetching result sets. MyBatis can configure and map native information using simple XML or annotations to map interfaces and Java’s POJOs(Plain Old Java Objects) to records in the database.

How to learn

There are no books introducing Mybatis in the domestic book market, only official API and a few blog articles. There are also few such books in the foreign book market, which makes it difficult to systematically learn Mybatis. The official API just briefly introduces some functions of Mybatis and some basic methods of use, without telling us how to use it well, what the principle is and what problems need to be paid attention to, which is obviously not enough.

Xiaobian prepared the several notes “Mybatis source analysis notes a, two”, “Mybatis”, “Mybatis from the entry to the master”, “Mybatis technical principle and combat”, from the basic use of Mybatis, to understand the source code, and then to the actual use, step by step, Step by step, we analyze the design concept and principle of Mybatis framework, and explain the key functions and modules of the framework one by one.

Two days get MyBatis source skeleton

Mybatis source analysis note a

directory

Chapter 1 Introduction to MyBatis

Chapter 2 Configuration file parsing process

Chapter three is the process of mapping file parsing

Chapter 4 SQL execution process

Chapter 5 Built-in data sources

Chapter 6 Caching mechanism

Chapter 7 Plug-in mechanism

Due to the limited space, the article only show part of the screenshots (due to compression, there may be a little fuzzy, please forgive me oh) need to get the complete document of the friend click here, direct download, the information for free to you, promotion salary essential!!

Mybatis source analysis note two

directory

Part ONE: Custom persistence layer framework

Part II: Mybatis related concepts

Part III: Basic application of Mybatis

Part four: Mybatis configuration file in-depth

Part V: Mybatis complex mapping development

Part SIX: Annotation development of Mybatis

Part 7: Mybatis cache

Part 8: Mybatis plugin

Part nine: Architecture principles of Mybatis

Part ten: Mybatis source code analysis

Part 11: Design Patterns

Part of content display

Due to the limited space, the article only show part of the screenshots (due to compression, there may be a little fuzzy, please forgive me oh) need to get the complete document of the friend click here, direct download, the information for free to you, promotion salary essential!!

Mybatis from beginner to master

directory

Part of content display

Mybatis technology principle and practice

Due to the limited space, the article only show part of the screenshots (due to compression, there may be a little fuzzy, please forgive me oh) need to obtain the complete document of the friend click here, direct download information for free to you, promotion salary essential!!

Mybatis: Getting started + Configuration information + Printing + cache + integrated Spring+ interview

Due to the limited space, the article only show part of the screenshots (due to compression, there may be a little fuzzy, please forgive me oh) need to obtain the complete document of the friend click here, direct download information for free to you, promotion salary essential!!