pagehelper-org/mybatis-pagehelper

Mybatis通用分页插件

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 4th, 2026
Created on June 9th, 2014
Open Issues & Pull Requests: 59 (+0)
GitHub issues: Enabled
Number of forks: 3,080
Total Stargazers: 12,349 (+0)
Total Subscribers: 495 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 23
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 561 days
Stale 30+ days: 22
Stale 90+ days: 22

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

PageHelper is a MyBatis plugin that adds pagination support to database queries.

The plugin solves the problem of implementing pagination in MyBatis applications by intercepting query execution and automatically rewriting SQL statements to add physical pagination logic specific to the target database. It works as an executor interceptor that modifies queries before they reach the database, supporting both single-table and multi-table pagination scenarios. The tool handles database-specific SQL syntax variations through a dialect system, with built-in support for multiple databases and the ability to configure custom dialects for unsupported systems.

Developers should choose this plugin if they are building MyBatis applications that require pagination functionality. It suits projects of any scale that need to paginate query results without manually writing database-specific SQL. The plugin integrates directly into the MyBatis execution pipeline and requires only the PageHelper JAR and jsqlparser JAR on the classpath. Spring Boot users can use the dedicated Spring Boot starter for simplified configuration.

The project maintains active engagement with its user base through comprehensive documentation covering usage patterns, configuration options, and edge cases. Development follows the MyBatis QueryInterceptor specification, ensuring compatibility with the broader MyBatis ecosystem. The tool supports multiple Java versions across different release lines, with recent versions targeting Java 8 and later while maintaining support for older Java versions in earlier release branches.