MyBatis Lecture 9: MyBatis Paging Plug-in Mechanism

MyBatis Lecture 9: MyBatis Paging Plug-in Mechanism

The paging function of Mybatis is very weak. It is based on memory paging (find all records and then get the results according to offset and limit). Such paging is basically useless in the case of large amounts of data. This article is the 9th lecture of MyBatis. Based on the plug-in, the physical paging of the database is realized by intercepting the StatementHandler and rewriting the sql statement.

Guess you like

Origin blog.csdn.net/qq_28959087/article/details/131576014