What is Mybatis / MybatisPlus

 

Mybatis concept

 

  • MyBatis is an excellent persistence layer framework

  • It supports customized SQL, stored procedures, and advanced mapping.

  • MyBatis avoids almost all JDBC code and manually setting parameters and obtaining result sets.

  • MyBatis can use simple XML or annotations to configure and map native types, interfaces, and Java POJOs as records in the database.

  • MyBatis was originally an open source project of a pache iBatis

 

 

Data persistence and persistence layer

 

Persistence is the process of transforming program data in a persistent state and a transient state. The reasons for persistence:

  • Because the memory has the characteristics of "lost power"

  • There are some objects that cannot be lost when power is turned off

  • Memory cost is too expensive

The so-called persistence layer is the code block that completes the persistence work

 

Published 568 original articles · Like 180 · Visits 180,000+

Guess you like

Origin blog.csdn.net/Delicious_Life/article/details/105626619