talira

Compare

PageHelperMyBatis-PlusMyBatis
What it isPagination plugin for MyBatis that pages any single-table or multi-table queryEnhancement toolkit for MyBatis that cuts boilerplate in Java data accessSQL mapper persistence framework for Java
KindOpen sourceOpen sourceOpen source
Trust0.500.730.73
Stars123061748720428
Last commit2026-10-082026-11-282026-11-28
LicenceMITApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
Companyabel533baomidouThe MyBatis Team
Features
  • Physical pagination for any single-table or multi-table MyBatis query
  • Automatic dialects for MySQL, MariaDB, PostgreSQL, Oracle, SQL Server, DB2, SQLite, H2 and more
  • Works with MyBatis 3.1.0 and later; PageHelper 6 needs JDK 8+, PageHelper 5 JDK 6+
  • fully compatible with MyBatis
  • ready-made CRUD interfaces
  • where-condition wrapper with a lambda-style API
  • primary key generation strategies
  • automatic pagination
  • active record support
  • SQL injection defence
  • customisable code generator
  • All 9 features
  • SQL in XML mapper files or annotations
  • dynamic SQL for conditional queries
  • stored procedure support
  • advanced result mappings to POJOs, Maps and primitives
  • removes most JDBC boilerplate
  • Spring Boot starter (mybatis-spring-boot-starter) with auto-configuration
Limitations
  • Some special cases of queries need care, listed in its 'Important note' page.
  • Most of its docs and site are in Chinese.