Skip to content
Mybatis通用分页插件
Java TSQL
Branch: master
Clone or download

Latest commit

likly and abel533 fix autoDialect fromJdbcUrl 大小写时不能匹配
 fix autoDialect fromJdbcUrl 大小写时不能匹配
Latest commit 5fcbb90 Feb 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create issue_template.md Jun 5, 2019
src fix autoDialect fromJdbcUrl 大小写时不能匹配 Mar 17, 2020
wikis 完善全部测试数据 Nov 30, 2019
.gitignore 初始导入 Jun 10, 2014
.travis.yml #fix fix ci error,remove JDK 1.6 and 1.7 environment Nov 30, 2019
LICENSE 更新授权信息 Dec 18, 2016
README.md 更新 https://mybatis.io Nov 30, 2019
README_zh.md 更新 https://mybatis.io Nov 30, 2019
pom.xml release 5.1.11 Nov 26, 2019

README.md

MyBatis Pagination - PageHelper

Build Status Maven central

中文版文档

If you are using MyBatis, it is recommended to try this pagination plugin. This must be the MOST CONVENIENT pagination plugin.

PageHelper supports any complex single-table, multi-table queries. As to some special cases, please refer to the Important note.

Want to use PageHelper? Please check out How to use PageHelper.

New JavaDoc

https://apidoc.gitee.com/free/Mybatis_PageHelper

APIs: https://apidoc.gitee.com/free/Mybatis_PageHelper/com/github/pagehelper/page/PageMethod.html

新书《MyBatis 从入门到精通》

MyBatis 从入门到精通

预售地址:京东当当亚马逊

CSDN博客:http://blog.csdn.net/isea533/article/details/73555400

GitHub项目:https://github.com/mybatis-book/book

Support MyBatis 3.1.0+

Physical Paging

PageHelper supports the following databases:

  1. Oracle
  2. Mysql
  3. MariaDB
  4. SQLite
  5. Hsqldb
  6. PostgreSQL
  7. DB2
  8. SqlServer(2005,2008)
  9. Informix
  10. H2
  11. SqlServer2012
  12. Derby
  13. Phoenix
  14. 达梦数据库(dm)
  15. 阿里云PPAS数据库
  16. 神通数据库
  17. HerdDB

The database list here is not updated in time, see details here PageAutoDialect.java#L58.

Use QueryInterceptor spec

Installation

To use PageHelper, you just need to include the pagehelper-x.y.z.jar and jsqlparser-x.y.z.jar file in the classpath.

For version matching relation, please refer to the dependent version in pom.

If you are using Maven, you could just add the following dependency to your pom.xml:

<dependency>
    <groupId>com.github.pagehelper</groupId>
    <artifactId>pagehelper</artifactId>
    <version>latest version</version>
</dependency>

If you are using Spring Boot, You can refer to the pagehelper-spring-boot-starter

More...

Documentation

Spring integration sample

Submit BUG

Thanks for free JetBrains Open Source license

Author Info

Web: https://mybatis.io

Blog: http://blog.csdn.net/isea533

Email: abel533@gmail.com

PageHelper on github:https://github.com/pagehelper/Mybatis-PageHelper

PageHelper on gitosc:http://git.oschina.net/free/Mybatis_PageHelper

You can’t perform that action at this time.