Skip to content
CAI
Produce a survey ↗Verify a survey

baomidou/mybatis-plus

MyBatis-Plus is a database enhancement framework for Java and Kotlin that simplifies data access by providing a comprehensive set of CRUD operations, dynamic SQL building, and batch processing capabilities. It integrates with Spring Boot to offer auto-configuration, multi-tenant and data-permission interceptors, and a code generator for rapid application development. The system supports a wide range of databases and includes utilities for pagination, caching, and type handling.

59.7

Adequate · 20 July 2026

61k

lines of production code

Java

primary language

4

bus factor · 277 authors in all

2

measurements over time

CAI band scale
CAI trend line

How it got here

2016–2018 · Core architecture refactoring and modularization

This period was dominated by a comprehensive refactoring of the MyBatis-Plus core and extension modules, introducing new interfaces, wrapper classes, and a centralized configuration system. The team also significantly expanded the code generator's database support and template engine architecture, while migrating the build system to Gradle and adding extensive H2-based test coverage.

50 changes

2019–2020 · Chain API and plugin architecture

This period focused on introducing a fluent, chainable API for query and update operations, alongside a new inner interceptor framework for dynamic table names and SQL rewriting. The team also expanded test coverage for core utilities, caching, optimistic locking, and multi-tenant isolation.

53 changes

2021–2024 · JSqlParser integration and test expansion

This period focused on modernizing SQL parsing by integrating JSqlParser to replace legacy regex-based logic, introducing new interceptors for data permissions and multi-tenancy, and adding comprehensive test coverage across the codebase.

47 changes

2025–2026 · JSR 5.0 parser and Spring Boot 4 support

This period focused on introducing JSqlParser 5.0 with advanced caching and thread pool management, alongside comprehensive test coverage for the new parsing infrastructure. Concurrently, the project added support for Spring Boot 4 and GraalVM native-image, while enhancing the code generator with index-based method creation and annotation support.

17 changes

CAI lens gauges

Survey your own repository

baomidou/mybatis-plus was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 20 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit db0b3c4bb5 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.17. Score the same commit under that rubric and you get the same number.
CAI link cards