MyBatis Pagination - PageHelper
If you are using MyBatis, it is recommended to try this pagination plugin.
This must be the Most Convenient pagination plugin.
PageHelper support any complex single-table, multi-table queries.
Some special cases please see the Important note.
Want to use PageHelper?
Please see How to use PageHelper.
New JavaDoc
新书《MyBatis 从入门到精通》
预售地址:京东,当当,亚马逊
Physical Paging
PageHelper supports the following databases:
Oracle
Mysql
MariaDB
SQLite
Hsqldb
PostgreSQL
DB2
SqlServer(2005,2008)
Informix
H2
SqlServer2012
Derby
Phoenix
Installation
To use PageHelper you just need to include the
pagehelper-x.x.x.jar
and jsqlparser-0.9.5.jar file in the classpath.
If you are using Maven just add the following dependency to your pom.xml:
com.github.pagehelper
pagehelper
latest version
If you are using Spring Boot, You can refer to pagehelper-spring-boot-starter
Documentation
Spring integration sample
Submit BUG
Author Info