Writing in the front

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 use simple XML or annotations to configure and map native types, interfaces, and Java’s Plain Old Java Objects (POJOs) to records in the database.

This book to explain the basic application and principle of MyBatis, so suitable for junior to senior developers to read.

Xiaobian here is already ready for you [MyBatis technology principle and combat] PDF complete version, the end of the article has a complete version of the way to yo! MyBatis technology principle and combat PDF complete version!

 

The content is introduced

The book is divided into three parts

The first part is the basic application of MyBatis, mainly introduces how to use MyBatis efficiently.

Chapter 1: MyBatis

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 2: Introduction to MyBatis [Mainly introduces the basic modules and life cycle of MyBatis, and gives examples.]

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 3 configuration [Mainly introduces the main meaning and content of MyBatis configuration.

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 4 | Mapper [Introduces the main elements of MyBatis mapper and its usage.]

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 5: Dynamic SQL [Introduces dynamic SQL to help you deal with most SQL scenarios easily.

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

The second part is the principle of MyBatis, we will go deep into the source code to understand the internal operation principle of MyBatis and the development methods and skills of plug-ins.

Chapter 6: MyBatis parsing and running principle 【 Introduction to MyBatis parsing and running principle, we will learn how to build SqlSession, and how its four objects work.

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 7 plug-in [Based on Chapter 6, the plug-in of MyBatis is mainly introduced. Here we will learn the design principle of the plug-in, as well as the development method and the key points for attention.]

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

The third part is the actual combat application of MyBatis, mainly explaining some practical scenes of MyBatis.

Chapter 8: MyBatis-Spring【 Introduce MyBatis-Spring, mainly explain how to integrate MyBatis application in Spring project, help readers to use MyBatis smoothly in Spring environment.

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

Chapter 9 | Practical Scenarios 【 Introduce the practical scenarios of MyBatis, select a group of typical and commonly used scenarios. Analyze in detail some errors and performance losses that developers need to avoid in each scenario.

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

A line of Internet companies Java daniu book with your MyBatis technology principles and combat

The last word

The reason why someone is always better than you is because they are already better and are constantly trying to be better. Are you still satisfied and secretly happy? “The day a programmer stops learning, his career begins to die.” So take action and learn!