Alibaba P8 selected technology sharing: from the foundation of Mybatis to the advanced source code

Preface

As a senior back-end code farmer who has to deal with databases every day, he first used Hiberate, a persistent framework with strong encapsulation. Since I came into contact with Mybatis, I have been overwhelmed by its flexibility. You can write SQL yourself. Although it is lightweight, the sparrow is small and complete.

The note of Ali Daniel I brought to you today is a detailed introduction to each knowledge point from the basics to the source code . There is no unnecessary nonsense. It is all postures commonly used in work and interviews.

The author has been working for Ant Financial after graduating from university. It has been five years now, and now it is P7+;

Alibaba P8 selected technology sharing: from the foundation of Mybatis to the advanced source code

 

Suitable for the crowd

  1. Programmers with a certain professional foundation want to learn Mybatis systematically.
  2. For Mybatis, I just stay on the basics and want to learn more.
  3. I have studied Mybatis, but I have not found a suitable book system to study programmers.

 

Due to the limited length of the article, I will show you the main catalog and screenshots below. If you have a friend who needs the full PDF version, you can like it and read the end of the article for free;

Book catalog

  1. Basic CRUD for Mybatis entry
  2. Result mapping of Mybatis entry
  3. Mybatis dynamic SQL, do you really know it?
  4. Do you understand several ways to pass parameters in Mybatis?
  5. Why can't the methods of the Mapper interface in Myabtis be overloaded?
  6. Do you really use TypeHandler in Mybatis?
  7. Mybatis plug-in principle and how to achieve it?
  8. Mybatis source code reading of six swordsmen
  9. How to read Mybatis source code, teach you a trick
  10. How does Mybatis execute the select statement, do you really know?
  11. Mybatis Log plugin crack

Alibaba P8 selected technology sharing: from the foundation of Mybatis to the advanced source code

 

Content display

  • As a lightweight framework for interacting with the database, Mybatis is deeply loved by the public. It is currently one of the mainstream frameworks and is often used in normal development.
  • Maybe some friends have been using it for several years and have read many books before, but it may not be so easy to really talk about detailed knowledge.
  • The article page of this book is beautiful, with pictures and texts. It is very enjoyable to read, unlike books in the form of documents on the market .

Alibaba P8 selected technology sharing: from the foundation of Mybatis to the advanced source code

 

The biggest feeling after reading:

  • The best learning process of MyBatis is to get started with the official documentation. If you encounter problems, you can check the documentation and search engines to basically solve them; then read this book, will absorb some corner functions; then read this book, Disassembled from the perspective of source code.
  • Reading books can quickly sort out the knowledge structure and check for deficiencies. MyBatis is familiar in usual development, but there are still many unused functions. For example, the two types of MyBatis mentioned in the book handle database dialect characteristics, and the advanced query user.id columnName will be parsed into the User object id attribute, the processing of the input and output parameters of the stored procedure, the processing of the cursor parameters, Support for enumeration, JDK 8 date support, dirty data problems caused by the second-level cache, and solutions are all new knowledge points I got.
  • This book can be seen as a supplement to the official documentation, giving a lot of code examples that can be used for learning.
  • The source code of MyBatis is not as large as Spring, and can be used as an introduction to the framework source code reading. A lot of knowledge can be learned from in-depth research, such as the practical application of design patterns, the use and packaging of dynamic agent technology, and how to open up extensions through plug-ins.

Due to the limited length of the article, if there is a friend who needs the full PDF version, add assistant vx: bjmsb10 for free;

Guess you like

Origin blog.csdn.net/Java0258/article/details/111411155