Registry / orm / pagehelper

pagehelper

JSON →
library6.1.1javamavenunverified

MyBatis Pagination Plugin for easy database pagination.

<dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>6.1.1</version> </dependency>
INSTALL
IMPORT
SIG · PAGEHELPER
P
pagehelper
ormjavav6.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PageHelper
✓ com.github.pagehelper.PageHelper

Starts pagination and retrieves page info.

import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import java.util.List; public class Example { public void paginate() { PageHelper.startPage(1, 10); List<User> users = userMapper.selectAll(); PageInfo<User> pageInfo = new PageInfo<>(users); } }
Debug
Known issues
gotchaThreadLocal usage may cause issues in async environments
fix
Ensure PageHelper is called in the same thread as the MyBatis query
affects: *
Upgrade
Version history
6.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
46
Resources
pagehelper — mvn dependency:get pagehelper · libregistry