私信发送成功
检测到您已登录技术前沿网,是否 一键登录码云
Watch Star Fork

abel533 / Mybatis_PageHelperJavaMIT

Mybatis分页插件
克隆/下载
一键复制 编辑 原始数据 按行查看 历史
README.md 4.20 KB isea533 提交于 2017-07-31 20:38 . 增加 Phoenix 数据库的简单配置

MyBatis Pagination - PageHelper

Build Status Maven central Dependency Status

中文版文档

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.

新书《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

Use QueryInterceptor spec

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:

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

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

Read More...

Documentation

Spring integration sample

Submit BUG

  • Submit to github
  • Submit to gitosc

Author Info

Web: http://www.mybatis.tk

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

Email: abel533@gmail.com

QQ Group: Mybatis工具群(2)

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

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

Float_left Icon_close