Skip to content
CAI
Software that uses CAICheck a score

baomidou/mybatis-plus

59.6

Adequate · 13 November 2026

78.5k

lines of production code

Java

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Added MyBatis-Plus language drivers for FreeMarker, Thymeleaf, and Velocity

New language driver classes have been added to the scripting extension module, providing MyBatis-Plus specific implementations for FreeMarker, Thymeleaf, and Velocity template engines. These drivers extend the standard MyBatis scripting drivers and override the parameter handler creation to use MyBatis-Plus's \MybatisParameterHandler\, ensuring consistent parameter processing for dynamic SQL written in these template languages.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/scripting · high confidence

Added Spring Boot DevTools restart configuration for MyBatis-Plus

A new \spring-devtools.properties\ file has been added to the core resources, configuring Spring Boot DevTools to automatically restart the application when any JAR file matching the pattern \mybatis-plus-\*.jar\ is modified. This ensures that changes to the MyBatis-Plus library are picked up immediately during development without requiring a full manual restart.

mybatis-plus-core/src/main/resources · high confidence

Added database type converters for ClickHouse, DB2, DM, Firebird, GaussDB, KingbaseES, and Oscar

The code generator now supports additional database platforms by introducing new type conversion implementations in the \config/converts\ package. New files include \ClickHouseTypeConvert\, \DB2TypeConvert\, \DmTypeConvert\, \FirebirdTypeConvert\, \GaussDBSqlTypeConvert\, \KingbaseESTypeConvert\, and \OscarTypeConvert\. These converters map specific database column types to corresponding Java types, ensuring accurate entity generation for these databases. The \TypeConverts\ registry has been updated to route \DbType\ values for these platforms to their respective converters.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/converts · high confidence

Added sequence-based key generators for multiple database platforms

The extension module now includes dedicated IKeyGenerator implementations for DB2, DM, Firebird, H2, Kingbase, Lealone, Oracle, PostgreSQL, and SAP HANA. These new classes allow users to generate primary keys using database-specific sequence syntax (e.g., NEXTVAL) for these supported databases, expanding the library's multi-database compatibility beyond previously supported platforms.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/incrementer · high confidence

Built-in generic type resolution for non-Spring environments

MyBatis-Plus now includes a built-in generic type resolver (TypeParameterResolver) that allows the framework to extract generic type arguments without requiring the Spring Framework. The core tooling in the reflect package now defaults to this built-in implementation, while still supporting Spring's GenericTypeResolver if it is available, and allows users to register custom resolvers via setGenericTypeResolver.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/toolkit/reflect · high confidence

Code generator now supports 15+ database dialects via a centralized query registry

The code generator's database query layer has been restructured to support a wide range of databases out of the box. A new \DbQueryRegistry\ centralizes the mapping of database types to their specific query implementations, which are now provided as dedicated classes (e.g., \DMQuery\, \ClickHouseQuery\, \GaussDBSqlQuery\, \OscarQuery\, \FirebirdQuery\, \KingbaseESQuery\, \GbaseQuery\, \SybaseQuery\, \XuguQuery\) alongside existing ones like MySQL, PostgreSQL, Oracle, and SQL Server. This change ensures that table and column metadata queries are correctly formatted for each specific database engine, enabling accurate code generation for these diverse platforms.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys · high confidence

Code generator templates refactored to support Beetl, Enjoy, and Kotlin

The code generator's resource templates have been completely rewritten to support the Beetl and Enjoy template engines alongside the existing Velocity and FreeMarker engines, and to generate valid Kotlin code. Controller, entity, mapper, and service templates now include logic to handle Kotlin class syntax (such as \var\ properties and \companion object\), support for the \@Serial\ annotation on \serialVersionUID\, and conditional generation of service interfaces via a \generateService\ flag. This ensures the generator produces compilable code for Kotlin projects and offers more flexibility in the generated Java structure.

mybatis-plus-generator/src/main/resources · high confidence

Database-specific keyword handling for code generation

The code generator now includes dedicated handlers for database reserved words in H2, MySQL, and PostgreSQL. This ensures that generated SQL correctly quotes column names matching these databases' specific keyword lists, preventing syntax errors when using reserved words as identifiers.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/keywords · high confidence

Expanded pagination dialect support for additional database platforms

The pagination plugin now includes dedicated dialect implementations for DB2, GBase 8s, GaussDB, Hive 2, Informix, Oracle 12c, SQL Server 2005, Trino, and XCloud, ensuring correct SQL generation for these specific database engines. The existing MySQL, PostgreSQL, and Oracle dialects have been standardized to a new \IDialect\ interface, and the legacy \SQLServerDialect\ is now deprecated in favor of the new \Oracle12cDialect\ which handles modern SQL Server pagination syntax.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/pagination/dialects · high confidence

Expanded support for Kotlin, Groovy, and IDE lambda references

The lambda metadata extraction in the core toolkit now supports additional language and environment scenarios. It can correctly resolve Kotlin property and method references (KProperty/KFunction) that previously failed due to synthetic method names, and it handles Groovy method references (MethodClosure) used in LambdaQueryWrapper. Additionally, it supports lambda expressions evaluated in the IntelliJ IDEA Evaluate window (via MethodHandleProxies), ensuring these work correctly without reflection errors.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/toolkit/support · high confidence

Global configuration model and package structure introduced

The \mybatis-plus-core\ module now includes the \GlobalConfig\ class and its \DbConfig\ sub-configuration within the \com.baomidou.mybatisplus.core.config\ package. This change establishes the central configuration model for the library, defining defaults for database strategies (such as \IdType.ASSIGN\_ID\ for primary keys), field formatting rules, logical delete values, and SQL injection behaviors. It also introduces new capabilities like table name formatting (\tableFormat\), placeholder replacement, and configurable meta-object handlers, while deprecating the direct caching of \SqlSessionFactory\ in favor of a registry cache.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/config · high confidence

Index-based mapper method generation with single-index default

The code generator now includes a new index package that provides base and default handlers for generating mapper methods based on database indexes. This introduces AbstractMapperMethodHandler for common method building, alongside DefaultGenerateMapperLambdaMethodHandler (using Lambda expressions) and DefaultGenerateMapperMethodHandler (using string/column constants). By default, the generator now produces methods only for single-column indexes (singleIndex=true), skipping composite indexes to avoid null-handling issues in multi-field lookups; users can enable composite index support by setting singleIndex to false. The generated methods include selectBy, updateBy, and deleteBy variants for both Java and Kotlin, respecting unique constraints and logic-delete columns.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/index · high confidence

Introduction of MybatisPlusException as a PersistenceException subclass

The library now provides a dedicated \MybatisPlusException\ class located in the \com.baomidou.mybatisplus.core.exceptions\ package. This exception extends \org.apache.ibatis.exceptions.PersistenceException\, allowing applications to catch MyBatis-Plus specific errors distinctly from general persistence issues. The package also includes a \package-info.java\ file to formally document the exception hierarchy.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/exceptions · high confidence

Introduction of dedicated JSqlParser thread pool and expression append mode

The JSqlParser module now includes a dedicated thread pool (JsqlParserThreadPool) for SQL parsing operations, utilizing a fixed-size pool based on available processors to improve concurrency handling. Additionally, a new ExpressionAppendMode enum has been introduced, allowing users to specify whether expressions should be appended to the first or last position in SQL statements.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-common · high confidence

Introduction of the MybatisPlusInterceptor plugin architecture

The \mybatis-plus-extension\ module now includes a new \MybatisPlusInterceptor\ class that serves as a central hub for managing multiple \InnerInterceptor\ implementations. This component intercepts MyBatis \Executor\ and \StatementHandler\ operations (such as query, update, and SQL preparation) to allow chained processing by registered plugins. It supports programmatic registration via \addInnerInterceptor\ and automatic configuration through \setProperties\, enabling users to compose features like pagination or multi-tenancy within a unified plugin chain.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins · high confidence

MyBatis-Plus Spring Boot auto-configuration modules added for Boot 3 and 4

New auto-configuration modules have been introduced for Spring Boot 3 and Spring Boot 4, alongside an updated module for the base Spring Boot starter. These modules provide \MybatisPlusAutoConfiguration\ and related beans (such as \SqlSessionFactory\ and \SqlSessionTemplate\) via Spring's \AutoConfiguration.imports\ and \spring.factories\ files. The configuration includes metadata for properties like \mybatis-plus.lazy-initialization\ and \mybatis-plus.inject-sql-session-on-mapper-scan\, and explicitly deprecates legacy configuration properties (e.g., \identifier-generator\, \meta-object-handler\) in favor of Spring \@Bean\ injection.

spring-boot-starter/mybatis-plus-boot-starter/src/main/java, spring-boot-starter/mybatis-plus-spring-boot3-starter/src/main/java, spring-boot-starter/mybatis-plus-spring-boot4-starter/src/main/java · high confidence

MyBatis-Plus annotation module initial release

This entry introduces the \mybatis-plus-annotation\ module, establishing the foundational annotation API for the framework. It defines the \DbType\ enumeration to support a wide range of database dialects (including MySQL, Oracle, PostgreSQL, and many specialized databases like GBase, ClickHouse, and OceanBase) and provides core metadata annotations such as \@TableName\, \@TableId\, \@TableField\, \@TableLogic\, and \@Version\ for entity mapping. Additionally, it includes configuration enums like \IdType\, \FieldStrategy\, and \FieldFill\, alongside utility annotations like \@EnumValue\, \@OrderBy\, and \@InterceptorIgnore\ to control query behavior and plugin interception.

mybatis-plus-annotation/src/main · high confidence

New Caffeine-based JSqlParser cache with multiple serialization options

The JSqlParser module now includes a new caching layer backed by Caffeine, allowing parsed SQL statements to be stored and retrieved more efficiently. This change introduces a \JsqlParseCache\ interface and an \AbstractCaffeineJsqlParseCache\ base implementation, along with concrete implementations for JDK, FST, and Fury serialization. Users can now benefit from faster SQL parsing lookups by leveraging these cache implementations, with the option to choose a serialization strategy that best fits their performance and compatibility needs.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/parser/cache · high confidence

New Caffeine-based SQL parser cache with async support and FST serialization

The \mybatis-plus-jsqlparser-4.9\ module now includes a new caching layer for JSqlParser results backed by Caffeine. This introduces an \AbstractCaffeineJsqlParseCache\ base class that supports optional asynchronous writes via a configurable \Executor\, addressing previous issues with async cache generation. Two concrete implementations are provided: \JdkSerialCaffeineJsqlParseCache\ using standard JDK serialization, and \FstSerialCaffeineJsqlParseCache\ using FST for faster serialization, with \FstFactory\ pre-registering a comprehensive list of JSqlParser classes to ensure compatibility.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/parser/cache · high confidence

New DDL history tracking interface and database-specific generators

Added the IDdlGenerator interface and concrete implementations for MySQL, Oracle, PostgreSQL, and SQLite to automatically maintain a ddl\_history table. This feature allows the framework to track DDL execution history, with specific support for Oracle and PostgreSQL schema configuration and a corrected SQLite implementation that no longer misidentifies the database type.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/ddl/history · high confidence

New DatabaseMetaDataWrapper for JDBC metadata access

Added a new DatabaseMetaDataWrapper class in the generator's JDBC package to handle database metadata retrieval. This component wraps JDBC connection and metadata operations, providing methods to fetch table information, column details (including type, size, and nullability), primary keys, and index information, while handling non-standard JDBC types and suppressing warnings for drivers that do not support auto-increment or generated column metadata.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/jdbc · high confidence

New JSON type handlers and map wrapper in extension package

The handlers package now includes an AbstractJsonTypeHandler base class and concrete implementations for Jackson, Jackson 3, Gson, Fastjson, and Fastjson2, enabling users to map JSON fields using their preferred serialization library. Additionally, a MybatisMapWrapper is provided to automatically convert underscore-separated column names to camelCase in Map results.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/handlers · high confidence

New JSqlParser 5.2 support module with caching and dynamic table name handling

The \mybatis-plus-jsqlparser-5.2\ module introduces support for JSqlParser 5.2, providing core infrastructure for SQL parsing and modification. It includes \DynamicTableNameHandler\ for intercepting and rewriting table names in SQL statements, and a global parser configuration (\JsqlParserGlobal\) that manages thread pools and parsing functions. To improve performance, the module adds a caching layer (\JsqlParseCache\) backed by Caffeine, supporting multiple serialization strategies including JDK, FST, and Fury. Additionally, it defines handler interfaces like \DataPermissionHandler\ and \MultiDataPermissionHandler\ to allow users to inject custom logic for data permission filtering during SQL parsing.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2 · high confidence

New JSqlParser-based data permission and multi-tenant handler interfaces

The mybatis-plus-jsqlparser-support module now includes new interfaces for SQL parsing-based data permission and multi-tenant handling. DataPermissionHandler defines the core contract for injecting SQL segments into WHERE clauses. MultiDataPermissionHandler extends this to support table-aware permission logic, allowing conditions to be appended per table rather than overwriting the entire WHERE clause. TenantLineHandler provides configuration for multi-tenant row-level security, including tenant ID expression, column name, table ignore rules, and insert behavior.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/plugins/handler · high confidence

New JSqlParser-based dynamic table name and multi-table inner interceptors

This location introduces a new JSqlParser-based parsing infrastructure for MyBatis-Plus inner interceptors. It adds DynamicTableNameHandler and DynamicTableNameJsqlParserInnerInterceptor to enable dynamic table name resolution using JSqlParser, including fallback support for unsupported statements. It also introduces BaseMultiTableInnerInterceptor as a shared base for multi-table processing, which is extended by TenantLineInnerInterceptor and DataPermissionInterceptor to improve multi-table query handling and data permission enforcement. Additionally, BlockAttackInnerInterceptor is updated to fix schema validation issues during full-table checks, while DataChangeRecorderInnerInterceptor and IllegalSQLInnerInterceptor are marked as deprecated in preparation for removal.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner · high confidence

New LambdaUpdateWrapper and SQL injection protection in UpdateWrapper

The \mybatis-plus-core\ module introduces \LambdaUpdateWrapper\ to allow type-safe update operations using Java 8+ lambda expressions, alongside an \Update\ interface that standardizes update methods like \set\, \setSql\, \setIncrBy\, and \setDecrBy\. Additionally, \UpdateWrapper\ now supports explicit SQL injection checking via the \checkSqlInjection()\ method, which validates column names against injection patterns before generating SQL.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions/update · high confidence

New MybatisMapWrapperFactory for camelCase map keys

The extension module now includes a new MybatisMapWrapperFactory that implements MyBatis's ObjectWrapperFactory interface. When registered via configuration.setObjectWrapperFactory(new MybatisMapWrapperFactory()), it enables automatic conversion of Map result-set keys from snake\_case to camelCase, providing a cleaner API for applications consuming map-based query results.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension · high confidence

New MybatisPlusTest annotation and test auto-configuration modules

This change introduces dedicated test support modules for Spring Boot and Spring Boot 3, providing the @MybatisPlusTest annotation and supporting infrastructure (AutoConfigureMybatisPlus, context bootstrapper, type exclude filter) to simplify unit testing of MyBatis-Plus components. Users can now annotate their test classes with @MybatisPlusTest to automatically configure a minimal Spring context focused on MyBatis-Plus, including an embedded in-memory database and relevant auto-configurations, without needing to manually wire up data sources or exclude unrelated beans. The modules also include sample tests demonstrating usage.

spring-boot-starter/mybatis-plus-boot-starter-test, spring-boot-starter/mybatis-plus-spring-boot3-starter-test · high confidence

New Query Wrapper API with SQL injection protection and predicate-based field selection

The \mybatis-plus-core\ query wrapper package introduces a refined API for building SQL queries. \QueryWrapper\ now includes an opt-in SQL injection check mechanism (\checkSqlInjection()\) that validates column names against injection patterns before execution. Both \QueryWrapper\ and the new \LambdaQueryWrapper\ support selecting specific fields using a \Predicate\<TableFieldInfo\>\, allowing users to filter columns by properties (e.g., name prefix, data type) rather than listing them explicitly. The \LambdaQueryWrapper\ enables type-safe, lambda-based column selection, while the \Query\ interface standardizes these selection methods across wrapper types.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions/query · high confidence

New SPI interface for web container compatibility and proxy handling

MyBatis-Plus introduces a new SPI mechanism via the \CompatibleSet\ interface and \CompatibleHelper\ utility to manage web-container-specific behaviors. This allows users to provide custom implementations for obtaining \SqlSession\ instances, executing batch operations, and retrieving container beans. The interface also adds support for unwrapping proxy targets (\getProxyTargetObject\) and setting container context (\setContext\), while deprecating the previous \getInputStream\ method which now defaults to returning null.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/spi · high confidence

New SQL utility toolkit in core

A new \com.baomidou.mybatisplus.core.toolkit.sql\ package has been introduced, consolidating SQL-related helper classes. This includes \SqlInjectionUtils\ for validating and detecting SQL injection patterns, \SqlScriptUtils\ for generating MyBatis XML script fragments (such as \\<if\>\, \\<trim\>\, \\<where\>\, and \\<foreach\>\), \SqlUtils\ for managing SQL placeholders and field operations, \StringEscape\ for database-specific string escaping, and \SqlTemplate\ for formatted SQL string construction.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/toolkit/sql · high confidence

New auto-configuration components for DDL execution, identifier generation, and language drivers

The autoconfigure module introduces several new capabilities: a DDL execution pipeline via DdlApplicationRunner and DdlAutoConfiguration that runs SQL scripts on startup with configurable error handling and auto-commit; a new IdentifierGeneratorAutoConfiguration that initializes the primary key generator with error degradation if address resolution fails; and MybatisPlusLanguageDriverAutoConfiguration that auto-configures MyBatis scripting language drivers (FreeMarker, Velocity, Thymeleaf) with support for both legacy and modern configuration classes. Additionally, it adds callback interfaces (ConfigurationCustomizer, MybatisPlusPropertiesCustomizer, SqlSessionFactoryBeanCustomizer) for post-configuration customization, a MybatisDependsOnDatabaseInitializationDetector to ensure MyBatis beans start after database initialization, and a SafetyEncryptProcessor that decrypts properties prefixed with 'mpw:' using a key from 'mpw.key' at startup.

spring-boot-starter/mybatis-plus-spring-boot-autoconfigure/src/main · high confidence

New batch execution API in mybatis-plus-core

The core module now includes a new \com.baomidou.mybatisplus.core.batch\ package providing a dedicated API for batch operations. This introduces \MybatisBatch\ for executing batch inserts/updates with configurable batch sizes and auto-commit control, \BatchSqlSession\ to safely handle mixed batch and select operations by flushing results, \BatchMethod\ to wrap mapper statement IDs with optional parameter conversion, and the \ParameterConvert\ functional interface for transforming entities before execution.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/batch · high confidence

New chain-wrapper API for fluent query building

MyBatis-Plus introduces a new fluent query API in the \conditions\ package, centered on \AbstractChainWrapper\ and the \ChainWrapper\ interface. This allows users to build SQL conditions using a chainable style (e.g., \lambdaQuery().eq(...)\) that returns the wrapper instance for further method calls, improving code readability and reducing boilerplate compared to the previous imperative wrapper usage.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/conditions · high confidence

New chain-wrapper update classes with auto-entity-class and increment/decrement support

The \mybatis-plus-extension\ module introduces \ChainUpdate\, \UpdateChainWrapper\, and \LambdaUpdateChainWrapper\ in the \conditions.update\ package. These classes provide a fluent chain API for update operations and support automatic entity class resolution (removing the strict requirement to pass \BaseMapper\ in all constructors). Additionally, they expose \setIncrBy\ and \setDecrBy\ methods to perform atomic field increment and decrement operations directly through the chain.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/conditions/update · high confidence

New code generation rules for naming strategies and database-to-Java type mapping

The generator now includes explicit configuration rules for table-to-entity naming and database column-to-Java type mapping. Users can control naming via the \NamingStrategy\ enum, which supports converting database identifiers from underscore\_case to camelCase, as well as stripping specified prefixes or suffixes. Additionally, the \DbColumnType\ enum defines the mapping between database column types and Java entity fields, introducing support for Java 8 time types (\LocalDate\, \LocalTime\, \LocalDateTime\, \Instant\, etc.) alongside standard SQL and primitive types. The \DateType\ enum allows users to specify whether generated date fields should use \java.util.Date\, \java.sql\ types, or the modern \java.time\ package.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/rules · high confidence

New core utility toolkits for encryption, assertions, and metadata caching

The core toolkit package introduces several new utility classes to enhance security, validation, and performance. AES.java provides AES CBC encryption and decryption for sensitive data like database credentials, while EncryptUtils adds MD5 Base64 hashing. Assert.java offers a suite of validation methods (isTrue, notNull, etc.) to replace manual exception throwing. EnumCache and EnumMetadata implement a high-performance, thread-safe caching mechanism for MyBatis-Plus enum metadata, optimizing enum value resolution. Additionally, AnnotationUtils simplifies finding annotations across class hierarchies, and AopUtils enables retrieving target objects from Spring proxies.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/toolkit · high confidence

New dynamic table name handler interface

Added the TableNameHandler interface, which allows users to implement custom logic for generating dynamic table names based on the current SQL and base table name.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/handler · high confidence

New extensible SQL injection methods for selective updates and upserts

The extension module now provides new custom SQL injector classes that allow developers to inject tailored data operations into their BaseMapper. Specifically, Upsert enables database-specific upsert (insert or update) operations, while AlwaysUpdateSomeColumnById allows updating only a specific subset of columns by ID based on a configurable predicate. Additionally, InsertBatchSomeColumn supports batch inserts with selective column inclusion, and LogicDeleteBatchByIds provides batch logical deletion with field filling capabilities (though marked as deprecated in favor of core methods). These additions give users finer control over generated SQL for complex persistence scenarios.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods · high confidence

New fluent API for conditional database type conversion

The code generator now includes a new \select\ package containing \Selector\, \Branch\, and \BranchBuilder\ classes. This provides a fluent, chainable API for defining conditional logic in database type conversion, allowing users to specify multiple branches with specific test conditions and default fallback values.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/converts/select · high confidence

New inner interceptor plugin architecture

MyBatis-Plus introduces a new \InnerInterceptor\ interface and several concrete implementations (\DynamicTableNameInnerInterceptor\, \OptimisticLockerInnerInterceptor\, \ReplacePlaceholderInnerInterceptor\) that allow users to intercept and modify SQL execution at the MyBatis executor and statement handler levels. This enables features like dynamic table name resolution, optimistic locking with version support, and runtime placeholder replacement without modifying the core MyBatis engine.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner · high confidence

New lambda and string-based chain query wrappers

Added ChainQuery interface and its implementations, LambdaQueryChainWrapper and QueryChainWrapper, to the mybatis-plus-extension module. These new wrappers provide a fluent, chainable API for building query conditions using either lambda expressions (type-safe) or string-based column names, allowing users to construct and execute queries with a more concise syntax.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/conditions/query · high confidence

New manual interceptor ignore strategy API

MyBatis-Plus introduces a new \IgnoreStrategy\ class and updates \InterceptorIgnoreHelper\ to support manual, programmatic control over interceptor execution. Users can now bypass specific plugins (such as tenant, dynamic table, block attack, illegal SQL, and data permission) for the current thread using \InterceptorIgnoreHelper.handle()\ or the convenience \execute()\ methods, which take precedence over annotation-based settings. This allows for fine-grained, runtime control of interceptor behavior without modifying mapper annotations.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/plugins · high confidence

New model classes for annotation attributes and mapper methods

The generator now includes new model classes to support enhanced code generation capabilities. \AnnotationAttributes\ and \ClassAnnotationAttributes\ provide structured handling for annotation properties, including display names and import packages, with the latter supporting dynamic display name generation based on table information. \MapperMethod\ introduces a model for representing mapper methods, capturing index names, method bodies, associated table fields, and extendable data, enabling more detailed and customizable mapper code generation.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/model · high confidence

New multi-table data permission and tenant line handler interfaces

The plugin system introduces new handler interfaces to support multi-table scenarios: \MultiDataPermissionHandler\ extends \DataPermissionHandler\ with a new method that accepts a \Table\ argument to append conditions per table without overwriting existing WHERE clauses, while \TenantLineHandler\ provides configuration for tenant ID columns and table ignoring. These interfaces are utilized by the \DataPermissionInterceptor\ and \BaseMultiTableInnerInterceptor\ (extracted from the tenant interceptor) to handle complex joins and multi-table updates/deletes more accurately. Also in this area: 3 commits (3 fixes) fixing (repo-wide).

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner · medium confidence · unverified

New p6spy SQL logging integration

Added p6spy support to MyBatis-Plus, introducing a custom logging factory, event listener, and message formatting strategy. This enables users to capture and display SQL execution details, including execution time and the SQL statement itself, via the new MybatisPlusLogFactory and P6SpyLogger components.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/p6spy · high confidence

New primary key generator interfaces and implementations in core.incrementer

The \mybatis-plus-core\ module now includes a dedicated \incrementer\ package containing the \IdentifierGenerator\ interface (with \nextId\ and \nextUUID\ methods), the \IKeyGenerator\ interface for SQL-based key generation, and concrete implementations: \DefaultIdentifierGenerator\ (using a shared Sequence instance with fallback for fixed machine IDs) and \ImadcnIdentifierGenerator\ (integrating the external \idworker\ library via Zookeeper). This change introduces the core API and default behaviors for primary key generation in this location.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/incrementer · high confidence

New toolkit utilities for simplified database operations and query chaining

This release introduces several new utility classes in the \mybatis-plus-extension\ toolkit to streamline common database tasks. The \Db\ class provides static methods for CRUD operations (save, update, delete, query) that automatically resolve the \BaseMapper\ from the entity class, reducing boilerplate. \ChainWrappers\ offers a centralized factory for creating chain-style query and update wrappers (e.g., \queryChain\, \lambdaQueryChain\) directly from an entity class or mapper. \SimpleQuery\ adds high-level, lambda-based methods for converting query results into Maps or Lists with optional parallel stream support. Additionally, \JdbcUtils\ has been expanded to auto-detect a wide range of new database types (including GBase 8s, TDengine, Trino, Presto, DuckDB, and others) from JDBC URLs, and \SqlParserUtils\ now includes a helper to remove table/column wrapper symbols.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/toolkit · high confidence

New utility classes for code generation

The generator now includes new utility classes in the util package to support code generation tasks. ClassUtils provides helper methods for class name resolution and class loading, including a deprecated getDefaultClassLoader method. FileUtils adds forceMkdir and forceMkdirParent methods to ensure directory creation. KotlinTypeUtils introduces a mapping from Java database column types to Kotlin types (e.g., Int, Double, Long) for Kotlin code generation. RuntimeUtils adds an openDir method to automatically open the output directory in the native file explorer (macOS/Windows) after generation.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/util · high confidence

Upstream source maintenance module for MyBatis Spring Boot auto-configuration

The new mybatis-plus-up module provides a structured way to maintain copies of upstream MyBatis Spring Boot source code and generate enhancement patches. It includes original classes for Boot 2 (such as MybatisAutoConfiguration, MybatisProperties, and test annotations) alongside corresponding .patch files that define the differences applied to create MyBatis-Plus versions (e.g., switching to MybatisPlusAutoConfiguration and MybatisSqlSessionFactoryBean). The module introduces Gradle tasks (up, patch, verify) to extract upstream sources, format them, generate diffs, and validate that patches can be cleanly applied, ensuring that enhancements are tracked separately from the base upstream code.

mybatis-plus-up · high confidence

Architecture

Refactored SQL injection architecture with new injector hierarchy

The \mybatis-plus-core\ injector package has been restructured to improve extensibility and code organization. A new \ISqlInjector\ interface defines the injection contract, implemented by an \AbstractSqlInjector\ base class that handles the common inspection and caching logic. The \DefaultSqlInjector\ now explicitly lists standard CRUD methods (Insert, Delete, Update, SelectById, etc.) and conditionally adds ID-based methods only when a primary key is present. The \AbstractMethod\ class was introduced to encapsulate SQL generation logic (such as \sqlSet\, \sqlSelectColumns\, and \sqlComment\) for individual injected methods. Additionally, \SqlRunnerInjector\ was separated to handle dynamic SQL execution statements independently.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/injector · high confidence

Behavioural changes

1 commit (0 fixes) modifying spring-boot-starter/mybatis-plus-spring-boot-autoconfigure/src/test-shared

A change to existing behaviour in spring-boot-starter/mybatis-plus-spring-boot-autoconfigure/src/test-shared — 1 commit, 4 files: “test: 测试规范化收尾——方法名、断言描述、顺序解耦与同源去重”.

spring-boot-starter/mybatis-plus-spring-boot-autoconfigure/src/test-shared · medium confidence · unverified

13 commits (5 fixes) modifying spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main

A change to existing behaviour in spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main — 13 commits (5 fixs), 7 files: “style: 全量格式化 Java 源码”; “fix(native-image): 同路径 XML、? 通配、多 \\ 组合与多版本 jar 扫描”; “chore: 应用 Spotless 格式化,统一导入顺序并清理无用导入”; and 10 more.

spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main · medium confidence · unverified

2 commits (0 fixes) modifying mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/datasource

A change to existing behaviour in mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/datasource — 2 commits, 18 files: “新增多数据源插件”; “格式化多数据源相关代码”.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/datasource · medium confidence · unverified

2 commits (0 fixes) modifying mybatis-plus-spring/src/main/resources

A change to existing behaviour in mybatis-plus-spring/src/main/resources — 2 commits, 2 files: “调整SPI实现(新增getProxyTargetObject()方法获取真实代理)”; “优化调整 mybatis-plus-spring 包下的所有文件包名调整”.

mybatis-plus-spring/src/main/resources · medium confidence · unverified

2 commits (0 fixes) modifying spring-boot-starter/mybatis-plus-boot-starter/src/main/resources

A change to existing behaviour in spring-boot-starter/mybatis-plus-boot-starter/src/main/resources — 2 commits, 3 files: “新增多数据源插件”; “新增spring-boot4支持模块”.

spring-boot-starter/mybatis-plus-boot-starter/src/main/resources · medium confidence · unverified

2 commits (1 fix) modifying native-smoke

A change to existing behaviour in native-smoke — 2 commits (1 fix), 7 files: “ci: add GraalVM native image smoke tests”; “fix(native-image): 修正应用入口识别与 reachability 元数据的反射缺口”.

native-smoke · medium confidence · unverified

3 commits (1 fix) modifying spring-boot-starter/mybatis-plus-spring-boot3-starter/src/main/resources, spring-boot-starter/mybatis-plus-spring-boot4-starter/src/main/resources

A change to existing behaviour in spring-boot-starter/mybatis-plus-spring-boot3-starter/src/main/resources, spring-boot-starter/mybatis-plus-spring-boot4-starter/src/main/resources — 3 commits (1 fix), 6 files: “fix: isolate starter configurations and adapt Spring Boot 4”; “新增多数据源插件”; “新增spring-boot4支持模块”.

spring-boot-starter/mybatis-plus-spring-boot3-starter/src/main/resources, spring-boot-starter/mybatis-plus-spring-boot4-starter/src/main/resources · medium confidence · unverified

5 commits (0 fixes) modifying mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/repository

A change to existing behaviour in mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/repository — 5 commits, 2 files: “style: 全量格式化 Java 源码”; “修复 https://github.com/baomidou/mybatis-plus/issues/7076 批量操作根据真实行返回结果集”; “优化MapperProxy属性访问”; and 2 more.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/repository · medium confidence · unverified

8 commits (0 fixes) modifying mybatis-plus-spring/src/main/java

A change to existing behaviour in mybatis-plus-spring/src/main/java — 8 commits, 13 files: “style: 全量格式化 Java 源码”; “chore: 应用 Spotless 格式化,统一导入顺序并清理无用导入”; “新增多数据源插件”; and 5 more.

mybatis-plus-spring/src/main/java · medium confidence · unverified

BaseMapper API updates: deleteById logic-fill support and deleteBatchIds deprecation

The BaseMapper interface in the core mapper package has been updated to support logical deletion filling in delete operations and to deprecate the old batch delete method. Specifically, deleteById now accepts an Object and a boolean flag to enable logic-fill behavior when the entity class supports it, ensuring logical delete fields are populated during single-record deletion. The previous deleteBatchIds method is marked as deprecated in favor of the new deleteByIds method, which provides consistent naming and behavior for batch deletions. These changes improve consistency in handling logical deletes and clarify the API surface for batch operations.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/mapper · high confidence

Code generator configuration package refactored to builder pattern

The configuration classes in the generator's config package have been restructured to use a builder pattern, introducing dedicated Builder inner classes for GlobalConfig, StrategyConfig, PackageConfig, and InjectionConfig. This change replaces the previous direct setter-based configuration with a fluent API, deprecating older methods like setSuperEntityClass(String) and TemplateConfig.disable() in favor of the new builder methods (e.g., disableServiceInterface, entityBuilder). The refactoring also consolidates template paths and constants into a new ConstVal interface and introduces new interfaces like IConfigBuilder and IOutputFile to standardize configuration building and file output creation.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config · high confidence

Custom MyBatis mapper proxy and method execution layer

MyBatis-Plus now uses its own \MybatisMapperProxy\, \MybatisMapperMethod\, and \MybatisMapperProxyFactory\ classes to intercept and execute mapper method calls, replacing the standard MyBatis equivalents. This override layer enables framework-specific behaviors, such as extracting aliases for \Wrapper\ parameters annotated with \@Param\ and handling \IPage\ return types for pagination, ensuring that MyBatis-Plus enhancements are applied during mapper invocation.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/override · high confidence

Deprecated SPI compatibility helper with manual override support

The \CompatibleHelper\ and \CompatibleSet\ classes in the \mybatis-plus-extension.spi\ package are now deprecated as of version 3.5.12. While the helper still attempts to load a \CompatibleSet\ implementation via Java's ServiceLoader, it now provides a \setCompatibleSet()\ method to manually specify the implementation, addressing previous initialization issues. Users relying on this SPI mechanism for compatibility should be aware that these components are scheduled for removal and should migrate to the core \com.baomidou.mybatisplus.core.spi.CompatibleSet\ interface.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/spi · high confidence

Kotlin wrapper API refactoring and ChainWrapper flexibility

The Kotlin extension's query and update wrappers have been refactored to use \KProperty1\<in T, \*\>\ for lambda-based column references, improving type safety and allowing null values in update sets. Additionally, the \KtQueryChainWrapper\ and \KtUpdateChainWrapper\ now support construction without a \BaseMapper\ instance, enabling the use of chain-style wrappers purely based on the entity class or instance.

mybatis-plus-extension/src/main/kotlin · high confidence

New Caffeine-based SQL parser cache with async support and FST serialization

The SQL parser cache implementation has been replaced with a new Caffeine-backed system that supports optional asynchronous writes via a configurable executor, reducing blocking during cache updates. The cache now uses FST serialization by default (with a JDK serialization alternative) for improved performance, and includes pre-registered class whitelists for JSqlParser types to ensure safe deserialization.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/main/java/com/baomidou/mybatisplus/extension/parser/cache · high confidence

New DDL script execution and error handling API

The DDL module now provides a new \DdlHelper\ class and a \DdlScriptErrorHandler\ interface to improve how SQL scripts are executed and errors are managed. Users can now run DDL scripts with custom \ScriptRunner\ configurations and choose between logging errors while continuing execution or throwing exceptions to stop processing. The legacy \DdlScript\ class and its constructors accepting \IDdlGenerator\ are deprecated in favor of the new helper, which handles DDL history tracking and script execution more explicitly.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/ddl · high confidence

New JSqlParser 5.0-based multi-table interceptors and handler interfaces

This location introduces the JSqlParser 5.0 implementation of the multi-table plugin architecture. It adds new handler interfaces (\DataPermissionHandler\, \MultiDataPermissionHandler\, \TenantLineHandler\) and a base class (\BaseMultiTableInnerInterceptor\) that supports multi-table parsing and an \expressionAppendMode\ configuration to control where conditions are appended. It also provides the concrete \DataPermissionInterceptor\ and \TenantLineInnerInterceptor\ implementations using this new parser, alongside updated versions of \BlockAttackInnerInterceptor\, \DynamicTableNameJsqlParserInnerInterceptor\, \IllegalSQLInnerInterceptor\, \PaginationInnerInterceptor\, and \DataChangeRecorderInnerInterceptor\ to function with JSqlParser 5.0. Also in this area: 3 commits (3 fixes) fixing (repo-wide).

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner · medium confidence · unverified

New type conversion infrastructure and expanded JDBC type support

The code generator now uses a new \ITypeConvertHandler\ interface and a \TypeRegistry\ class to manage database-to-Java type mappings. This change introduces explicit support for \TIMESTAMP\_WITH\_TIMEZONE\ (mapped to \TIMESTAMP\) and \DOUBLE\ JDBC types, ensuring these data types are correctly converted in generated code. The \TypeRegistry\ also centralizes logic for handling date, time, and numeric types based on global configuration settings.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/type · high confidence

Pagination plugin refactored with dynamic SQL model and expanded database support

The pagination plugin in \mybatis-plus-extension\ has been refactored to support dynamic SQL parameter binding via the new \DialectModel\, which allows dialects to inject pagination parameters (offset/limit) into \ParameterMapping\ and \additionalParameters\ rather than relying on static string replacement. This change introduces a centralized \DialectFactory\ that maps \DbType\ to specific dialect implementations, adding support for Sybase, GBase 8s (GBASEDBT), Trino, Presto, Hive2, GaussDB, and others. Additionally, a \PageDTO\ class is introduced to facilitate safe serialization of pagination data across service boundaries, and the \Page\ model now exposes controls for \searchCount\ and \optimizeJoinOfCountSql\ to fine-tune count query behavior.

mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/pagination · high confidence

Refactored JSqlParser support with new global configuration and shutdown hook management

The JSqlParser support module has been restructured to improve thread pool lifecycle management and configuration flexibility. A new \JsqlParserGlobal\ class centralizes parser configuration, introducing overloaded \setExecutorService\ methods that allow users to specify a custom \Thread\ for shutdown hooks (replacing the previous boolean flag approach) and deprecating older static field exposure. A new \JsqlParserFunction\ functional interface standardizes parser callbacks, while \JsqlParserSupport\ provides the core SQL parsing logic with improved handling for multi-statement execution and schema-qualified table names. These changes enhance control over parser resources and simplify integration for users managing custom thread pools.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/parser · high confidence

Refactored SQL method injectors with custom naming and enhanced logic-delete handling

The SQL method injector classes in the core module have been restructured to support custom method names (introduced in version 3.5.0) and improved logic-delete behavior. Key changes include the introduction of \DeleteByIds\ and \SelectByIds\ as replacements for their \\*BatchByIds\ counterparts, with the old batch methods now marked as deprecated. The \DeleteById\ and \DeleteByIds\ injectors now correctly handle field filling and logic-delete updates, ensuring that update-fill fields are processed even during logical deletion. Additionally, the \Insert\ method now supports ignoring auto-increment columns, and several methods like \SelectOne\, \SelectPage\, and \SelectByMap\ are marked as deprecated in favor of more generic or flexible alternatives.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/injector/methods · high confidence

Refactored SQL parser thread pool management and shutdown hooks

The parser module now centralizes thread pool configuration in JsqlParserGlobal, introducing a new setExecutorService method that accepts a Thread object for shutdown hooks instead of a boolean flag, while deprecating the previous boolean-based overload. This change improves resource cleanup by allowing explicit control over the JVM shutdown hook registration, and the new JsqlParserFunction interface supports this functional parsing approach.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/parser, mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/main/java/com/baomidou/mybatisplus/extension/parser · high confidence

Refactored SQL segment handling with caching and alias support

The \mybatis-plus-core\ segment package has been restructured to improve SQL generation performance and flexibility. A new \AbstractISegmentList\ base class introduces caching for SQL segments and a \clearSqlSegmentCache\ method to manage state, while \MergeSegments\ now coordinates normal, group-by, having, and order-by segments with explicit cache invalidation. Additionally, a \changeParamAlias\ method has been added across segment lists to support dynamic parameter alias updates, and new specific segment lists (\GroupBySegmentList\, \HavingSegmentList\, \OrderBySegmentList\) and a \MatchSegment\ enum have been introduced to handle SQL keyword matching and formatting more precisely.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions/segments · high confidence

Refactored code generator configuration into a modular builder architecture

The generator's configuration system has been restructured into a new \config.builder\ package, introducing dedicated builder classes for each output module (Entity, Mapper, Service, Controller) and a central \ConfigBuilder\ to orchestrate them. This change replaces the previous monolithic configuration approach with a fluent, modular API, allowing users to configure specific layers (such as enabling REST-style controllers, customizing file naming, or setting super-classes) independently. The refactoring also introduces \BaseBuilder\ as a common foundation for these module-specific builders and \GeneratorBuilder\ for creating default configuration instances, improving extensibility and clarity in how code generation strategies are defined.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/builder · high confidence

Refactored code generator data model with new LikeTable and enhanced TableField/TableInfo classes

The code generator's output data model in the \config.po\ package has been refactored to improve metadata handling and flexibility. A new \LikeTable\ class was added to support SQL-like pattern matching for table names, utilizing the \SqlLike\ enum for prefix/suffix operations. The \TableField\ class was significantly expanded to include detailed metadata such as \MetaInfo\, custom annotation attributes (\AnnotationAttributes\), and database keyword handling, while the \TableInfo\ class now exposes index lists and schema names. These changes provide the generator with richer, more structured information about database tables and columns, enabling more precise and customizable code generation for entities and mappers.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/po · high confidence

Refactored code generator with customizable annotation handling and field metadata

The generator has been restructured to provide greater control over the generated code. A new FastAutoGenerator offers a fluent, builder-based API for configuration, while the AutoGenerator now requires an explicit DataSourceConfig in its constructor. The system introduces pluggable handlers—ITableAnnotationHandler and ITableFieldAnnotationHandler—allowing users to customize how table and field annotations (such as @TableName, @TableId, @Schema, and Swagger annotations) are generated. Additionally, the ITableFieldMetaInfoCustomizer interface enables fine-grained adjustment of field metadata (like JDBC types) after database introspection but before template rendering.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator · high confidence

Refactored core handlers into new interfaces and classes

The \mybatis-plus-core\ handlers package has been restructured with new abstractions: \AnnotationHandler\ provides default methods for class, field, and method annotation retrieval; \MetaObjectHandler\ is now an interface with deprecated no-arg fill toggles replaced by \MappedStatement\-aware defaults and new \StrictFill\-based strict fill methods; \CompositeEnumTypeHandler\ delegates to \MybatisEnumTypeHandler\ for MP enums or a configurable default handler; \IJsonTypeHandler\ defines a generic JSON parse/serialize contract; \PostInitTableInfoHandler\ allows customizing \TableInfo\ and \TableFieldInfo\ creation; and \StrictFill\ models strict fill parameters.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/handlers · high confidence

Refactored core metadata model and pagination interfaces

The \mybatis-plus-core\ metadata package has been restructured to improve extensibility and clarity. \IPage\ is now a dedicated interface defining pagination behavior (including \optimizeJoinOfCountSql\ and \convert\), replacing previous implementations. \TableInfo\ and \TableFieldInfo\ have been refactored to use Lombok and expose internal state (like \Reflector\ and \orderByFields\) for better runtime inspection. New classes \OrderItem\ and \OrderFieldInfo\ provide a cleaner API for sorting, while \MapperProxyMetadata\ offers a standardized way to access proxy internals.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/metadata · high confidence

Refactored database metadata query architecture with new default and legacy query implementations

The code generator's database introspection layer has been restructured to support two distinct query strategies: a new \DefaultQuery\ that leverages standard JDBC \DatabaseMetaData\ for broader database compatibility (including PostgreSQL partitioned tables), and a legacy \SQLQuery\ that uses custom SQL scripts for older database adapters. This change introduces an \AbstractDatabaseQuery\ base class to unify configuration handling and table filtering logic, ensuring that table inclusion/exclusion rules and metadata processing are applied consistently regardless of the underlying query method.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/query · high confidence

Refactored query wrapper architecture with new AbstractLambdaWrapper and auto-mapping support

The query condition construction system has been restructured to improve type safety and maintainability. A new \AbstractLambdaWrapper\ class has been introduced to centralize Lambda expression parsing, allowing wrappers to automatically resolve column names from Java 8+ lambda functions. This includes a new \autoMapping\ feature (enabled via \enableAutoMapping()\) that automatically maps entity properties to their corresponding database column aliases. The core \AbstractWrapper\ has been updated to support these changes, including methods for setting entity classes and handling SQL segments more efficiently. Additionally, new utility classes like \SharedString\ and \ISqlSegment\ have been added to manage SQL string segments and shared state more effectively, while the \Wrapper\ base class now exposes methods for custom SQL segment handling and entity emptiness checks.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions · high confidence

Refactored query wrapper interfaces into specialized contracts

The query wrapper API in \mybatis-plus-core\ has been restructured by splitting the previous monolithic interface into four distinct, specialized interfaces: \Compare\ (handling equality, inequality, and range checks), \Func\ (handling null checks, IN/NOT IN, and SQL injection methods), \Join\ (handling OR joins, raw SQL application, and SQL comments/first/last clauses), and \Nested\ (handling AND/OR/NOT nested conditions via \Consumer\ lambdas). This change improves type safety and API clarity by grouping related query-building methods into focused contracts, while maintaining the same underlying functionality for users constructing SQL conditions.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions/interfaces · high confidence

Refactored template engine architecture with new engine implementations

The code generator's template engine layer has been refactored to use a new \AbstractTemplateEngine\ base class, which centralizes file output logic for entities, mappers, services, controllers, and custom files. This change introduces dedicated implementations for Beetl, Enjoy, Freemarker, and Velocity, ensuring consistent rendering behavior. Specifically, the Beetl engine now supports version 3.2.x, and the Velocity engine includes a warning for outdated 1.x versions, while all engines now support both file-based and string-based template rendering.

mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/engine · high confidence

Renames batch delete and select methods and deprecates legacy batch operations

The \SqlMethod\ enum in the core module has been updated to rename \deleteBatchIds\ to \deleteByIds\ and \selectBatchIds\ to \selectByIds\, aligning the API with the new naming convention. The previous batch methods are now marked as deprecated (since version 3.5.7 for deletes and 3.5.8 for selects) in favor of the renamed counterparts. Additionally, \selectPage\ and \selectMapsPage\ injections have been removed, and \selectOne\ now supports limit restrictions.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/enums · high confidence

Replaces core Mybatis classes with Mybatis-Plus custom implementations

The \mybatis-plus-core\ module now introduces a suite of custom classes that extend or replace standard Mybatis components to integrate Mybatis-Plus functionality. This includes \MybatisConfiguration\ (replacing \Configuration\), \MybatisMapperRegistry\ (replacing \MapperRegistry\), \MybatisMapperAnnotationBuilder\ (replacing \MapperAnnotationBuilder\), \MybatisXMLConfigBuilder\ (replacing \XMLConfigBuilder\), \MybatisXMLMapperBuilder\ (replacing \XMLMapperBuilder\), \MybatisXMLLanguageDriver\ (replacing \XMLLanguageDriver\), \MybatisParameterHandler\ (replacing \DefaultParameterHandler\), \MybatisSqlSessionFactoryBuilder\ (replacing \SqlSessionFactoryBuilder\), \MybatisMapperBuilderAssistant\ (replacing \MapperBuilderAssistant\), \InjectorResolver\ (extending \MethodResolver\), and \MybatisMethodResolver\ (extending \MethodResolver\). These changes enable Mybatis-Plus features such as automatic CRUD injection, custom ID generation, and enhanced parameter handling.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core · high confidence

SqlRunner now supports single-argument property and index access

The SqlRunner API has been enhanced to allow more flexible parameter binding when executing a single argument. Starting with version 3.5.12, if you pass a single Map, JavaBean, List, or Array to methods like selectList or selectPage, you can now access Map keys or JavaBean properties using named placeholders (e.g., {key} or {property}) instead of just numeric indices (e.g., {0}). This simplifies SQL queries by allowing direct property access on complex objects without needing to wrap them in additional parameter maps.

mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/assist · high confidence

Updated DynamicTableNameHandler to support JSqlParser 5.0 visitor pattern

The DynamicTableNameHandler in the mybatis-plus-jsqlparser-support module has been updated to align with the JSqlParser 5.0 API changes. The class now extends TablesNamesFinder\<Void\> and implements the two-argument visitor methods (e.g., visit(CreateIndex, context)) required by the newer parser version, ensuring that dynamic table name resolution continues to function correctly for DDL statements like CREATE INDEX, DROP TABLE, and CREATE VIEW.

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension, mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/main/java/com/baomidou/mybatisplus/extension · high confidence

Fixes

12 commits (9 fixes) fixing mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner

A fix in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner — 12 commits (9 fixs), 8 files: “fix: 修复常量恒等式与 XOR 条件导致的越权及全表校验绕过问题”; “style: 全量格式化 Java 源码”; “fix: apply page size limit before overflow checks (\#7252)”; and 9 more (refs \#7252, \#7216, \#7218, \#7234, \#7232, …).

mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner · medium confidence · unverified

Test coverage

10 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-common/src/test-shared/java/com/baomidou/mybatisplus/test/extension/plugins/inner; 10 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/enums; 10 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/h2/issues/aop; 10 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/uuid; 11 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/test/pom; 11 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/tenant; 12 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/test/java/com/baomidou/mybatisplus/test/extension/plugins/inner; 12 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/test/java/com/baomidou/mybatisplus/test/extension/plugins/inner; 13 commits adding/updating tests in spring-boot-starter/mybatis-plus-spring-boot4-starter/src/test; 14 commits adding/updating tests in spring-boot-starter/mybatis-plus-boot-starter/src/test; 15 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/test/java/com/baomidou/mybatisplus/test/extension/plugins/inner; 2 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/extension/plugins/inner; 2 commits adding/updating tests in mybatis-plus-extension/src/test/kotlin; 2 commits adding/updating tests in spring-boot-starter/mybatis-plus-spring-boot-autoconfigure/src/test/java/com/baomidou/mybatisplus/autoconfigure; 3 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/extension/plugins/datasource; 3 commits adding/updating tests in spring-boot-starter/mybatis-plus-spring-boot4-starter-test; 4 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/extension/ddl; 4 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/extension/plugins/pagination/dialects; 6 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/test/java/com/baomidou/mybatisplus/test; 7 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/test/java/com/baomidou/mybatisplus/test/extension; 7 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/test/java/com/baomidou/mybatisplus/test/extension; 7 commits adding/updating tests in mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/test/java/com/baomidou/mybatisplus/test/extension/plugins/inner; 8 commits adding/updating tests in mybatis-plus-extension/src/test/java/com/baomidou/mybatisplus/extension/plugins/pagination; 8 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/replaceplaceholder; 8 commits adding/updating tests in mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/sqlrunner; 9 commits adding/updating tests in spring-boot-starter/mybatis-plus-spring-boot-native-image/src/test; Added GaussDB integration tests; Added H2 integration test configuration classes; Added H2 test entity classes for MyBatis-Plus integration tests; Added H2 test mapper interfaces for fill, logic delete, and wrapper alias scenarios; Added H2-based enum test fixtures; Added H2-based service layer tests for transactional and batch operations; Added H2-based test resources and Spring configurations for MyBatis-Plus; Added H2-based unit tests for MyBatis-Plus core features; Added JSqlParser 5.0 unit tests; Added Kotlin integration tests for MyBatis-Plus Spring module; Added Kotlin unit tests for H2 database integration; Added Phoenix test infrastructure and schema; Added SQL schema for generator tests; Added contract tests for annotation module enums and metadata; Added core unit tests for MyBatis-Plus configuration, wrappers, and SQL generation; Added integration and configuration tests for the MyBatis-Plus Spring Boot 3 starter; Added regression tests for generic primary key handling; Added regression tests for repository scanning behavior; Added serialization performance tests for JSqlParser statements; Added test configuration for Apache Phoenix integration; Added test configuration for H2 key generator scenarios; Added test coverage for ChainWrapper and ChainWrappers functionality; Added test coverage for pagination serialization, OGNL evaluation, and native MyBatis batch operations; Added test data for cache integration tests; Added test entities and mappers for Phoenix integration; Added test entity for Kotlin Lambda extraction; Added test model for H2 cache integration; Added test models for sequence-based key generation; Added test models for various ID generator types; Added test resources for DDL and logging configuration; Added test resources for cache, enum, fill, H2, plugin, result map, and rewrite scenarios; Added test resources for generic primary key scenarios; Added test schema for key generator unit tests; Added test service for batch operation cache clearing scenarios; Added test suite for auto-fill performance; Added test templates for custom DTO, VO, and entity generation; Added test to validate Spring configuration metadata; Added test to verify Maven POM dependency scopes and optional flags; Added tests for @OrderBy annotation behavior; Added tests for Fastjson2, Fastjson, and Mybatis enum type handlers; Added tests for GsonTypeHandler with complex nested types; Added tests for ID generator support of BigDecimal, BigInteger, and String types; Added tests for MyBatis-Plus Record entity support; Added tests for MyBatis-Plus interceptor hook invocation counts; Added tests for MyBatis-Plus pagination and secondary cache behavior; Added tests for Phoenix integration upsert and pagination; Added tests for SQL rewrite functionality; Added tests for ServiceImpl generic type resolution; Added tests for auto-result-map with nested objects; Added tests for batch insert operations; Added tests for custom identifier generation with multiple data types; Added tests for field auto-fill with batch insert operations; Added tests for field insert/update strategy annotations; Added tests for logic delete with field fill and batch operations; Added tests for multi-SqlSessionFactory support; Added tests for non-standard table column mappings; Added tests for optimistic locking behavior; Added tests for optimistic locking with wrapper-based updates; Added tests for page and XML-based cache behavior; Added tests for pagination SQL concatenation with UNION statements; Added tests for pagination SQL parsing and ORDER BY concatenation; Added tests for schema and table name placeholder support; Added tests for serialization factory completeness and round-trip correctness; Added unit tests for JSON type handlers; Added unit tests for JSON type handlers and MybatisMapWrapper; Added unit tests for JSqlParser SQL parsing behavior; Added unit tests for MyBatis-Plus toolkit utilities; Added unit tests for PropertyMapper, SqlHelper, and SqlParserUtils; Added unit tests for code generator configuration and template engines.

Dependencies

Dependency and build infrastructure overhaul

The project has migrated its build system to Gradle Kotlin DSL and upgraded the compilation target to Java 21, while maintaining backward compatibility by compiling source code to Java 8. This update introduces a comprehensive dependency management strategy via a central BOM and a unified \build.gradle\ configuration, significantly updating core libraries including MyBatis to 3.5.19, Spring Boot to 2.7.18 (with dedicated starters for Spring Boot 3.5.9 and 4.0.1), and Kotlin to 2.4.0. Additionally, the SQL parsing support has been expanded to include JSqlParser versions 4.9, 5.0, 5.2, and 5.4, and the code generator now supports the Beetl and Enjoy template engines.

(dependencies) · high confidence

Upgrade Gradle Wrapper to 9.6.0

The project now uses Gradle wrapper version 9.6.0, ensuring that builds are executed with this specific release. This change updates the distribution URL to fetch Gradle 9.6.0-bin.zip, standardizing the build environment for all developers and CI systems.

gradle · high confidence

Housekeeping

Added package documentation for the injector module; Repository initialization with project scaffolding and documentation.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 59 → 60 (+0.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 65 → 64 (-1.6)
  • Architecture 85 → 86 (+1.0)
  • Maturity 51 → 57 (+5.2)
  • Readiness 66 → 56 (-10.6)
  • Security 74 → 71 (-2.8)

Resolved (142)

  • CollectUtils.getJarFilePath (cognitive 19) (spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main/java/com/baomidou/mybatisplus/aot/CollectUtils.java)
  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Documentation: no project overview (README.md)
  • Duplicated block (10 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FstFactory.java)
  • Duplicated block (10 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/BaseMultiTableInnerInterceptor.java)
  • Duplicated block (10 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/DataChangeRecorderInnerInterceptor.java)
  • Duplicated block (10–12 lines × 6) (mybatis-plus-up/src/main/java/boot2/org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.java)
  • Duplicated block (11 lines × 2) (spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main/java/com/baomidou/mybatisplus/aot/AotUtils.java)
  • Duplicated block (11 lines × 2) (spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main/java/com/baomidou/mybatisplus/aot/FeatureUtils.java)
  • Duplicated block (11 lines × 2) (spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main/java/com/baomidou/mybatisplus/aot/FeatureUtils.java)
  • Duplicated block (11 lines × 2) (spring-boot-starter/mybatis-plus-spring-boot-native-image/src/main/java/com/baomidou/mybatisplus/aot/FeatureUtils.java)
  • Duplicated block (11 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/DataPermissionInterceptor.java)
  • Duplicated block (12 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FuryFactory.java)
  • Duplicated block (12 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FuryFactory.java)
  • Duplicated block (13 lines × 2) (mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/toolkit/sql/SqlScriptUtils.java)
  • Duplicated block (13 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FuryFactory.java)
  • Duplicated block (15 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FuryFactory.java)
  • Duplicated block (15 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java)
  • Duplicated block (16 lines × 3) (mybatis-plus-generator/src/main/java/com/baomidou/mybatisplus/generator/config/querys/DMQuery.java)
  • Duplicated block (17 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/FuryFactory.java)
  • …and 122 more

New (292)

  • AbstractWrapper.formatSqlMaybeWithParam (cognitive 17) (mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/conditions/AbstractWrapper.java)
  • ClassTooLong: ForyFactory (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/ForyFactory.java)
  • Dependency hygiene PARTLY measured — Gradle build resolved part of the dependency graph, currency reported but not scored
  • Duplicated block (10 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/DataPermissionInterceptor.java)
  • Duplicated block (12 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/BaseMultiTableInnerInterceptor.java)
  • Duplicated block (14 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java)
  • Duplicated block (17 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/ForySerialCaffeineJsqlParseCache.java)
  • Duplicated block (18 lines × 3) (mybatis-plus-up/src/main/java/boot2/org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.java)
  • Duplicated block (24 lines × 3) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.0/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/BaseMultiTableInnerInterceptor.java)
  • Duplicated block (27 lines × 3) (spring-boot-starter/mybatis-plus-boot-starter/src/main/java/com/baomidou/mybatisplus/autoconfigure/SafetyEncryptProcessor.java)
  • Duplicated block (31 lines × 3) (spring-boot-starter/mybatis-plus-boot-starter/src/main/java/com/baomidou/mybatisplus/autoconfigure/ShardingAutoConfiguration.java)
  • Duplicated block (31 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/PaginationInnerInterceptor.java)
  • Duplicated block (329 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-5.2/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/ForyFactory.java)
  • Duplicated block (54 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/PaginationInnerInterceptor.java)
  • Duplicated block (574 lines × 2) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser/src/main/java/com/baomidou/mybatisplus/extension/parser/cache/ForyFactory.java)
  • Duplicated block (6 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/BaseMultiTableInnerInterceptor.java)
  • Duplicated block (7 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java)
  • Duplicated block (9 lines × 4) (mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-4.9/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/BaseMultiTableInnerInterceptor.java)
  • Edited copies of one member (3 members, 15+ corresponding lines) (mybatis-plus-up/src/main/java/core/org/apache/ibatis/session/Configuration.java)
  • Edited copies of one member (3 members, 6+ corresponding lines) (mybatis-plus-core/src/main/java/com/baomidou/mybatisplus/core/mapper/BaseMapper.java)
  • …and 272 more

Changes since last survey

  • 75 commits — 51 feature/other, 24 fixes

By area

  • (root) — 22 commits
  • mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser — 13 commits
  • mybatis-plus-core/src — 10 commits
  • spring-boot-starter/mybatis-plus-spring-boot-native-image — 8 commits
  • mybatis-plus-extension/src — 6 commits
  • .github/workflows — 4 commits
  • (repo) — 3 commits
  • .github/TESTING.md — 2 commits
  • mybatis-plus/src — 2 commits
  • gradle/wrapper — 1 commit
  • mybatis-plus-generator/src — 1 commit
  • mybatis-plus-jsqlparser-support/mybatis-plus-jsqlparser-common — 1 commit
  • native-smoke/src — 1 commit
  • spring-boot-starter/mybatis-plus-spring-boot3-starter — 1 commit

Notable commits

  • fix: Fix collection splitting after iterator exhaustion (#7250)
  • fix: Fix parameter aliases in nested wrapper conditions (#7220)
  • fix: fix(core): allow a single null parameter in SqlRunner (#7198)
  • fix: fix(core): bind all mappings of a repeated SQL parameter (#7200)
  • fix: fix(core): preserve mapper-only custom ignore strategies (#7213)
  • fix: fix(extension): keep optimistic-lock matching within one predicate (#7211)
  • fix: fix(generator): preserve numeric values with unknown precision or negative scale (#7214)
  • fix: fix(native-image): migrate GraalVM reachability metadata
  • fix: fix(native-image): 修正 reachability 条件并改进 lambda Feature 的应用类识别
  • fix: fix(native-image): 修正应用入口识别与 reachability 元数据的反射缺口
  • fix: fix(native-image): 同路径 XML、? 通配、多 ** 组合与多版本 jar 扫描
  • fix: fix(native-image): 应用入口收窄改为按 classpath 条目,避免多模块业务类被误过滤
  • fix: fix: CI 矩阵仅保留 JDK 21 — Lombok 1.18.32 与 JDK 25 不兼容
  • fix: fix: CI 矩阵移除 JDK 17 — mybatis-plus-up 需要 JDK 21+
  • fix: fix: apply page size limit before overflow checks (#7252)
  • fix: fix: apply row isolation inside nested select expressions (#7217)
  • fix: fix: apply tenant isolation to update and delete subqueries (#7232)
  • fix: fix: correct test convention source scanning
  • fix: fix: filter parenthesized selects with legacy permission handlers (#7234)
  • fix: fix: isolate starter configurations and adapt Spring Boot 4
  • …and 55 more

Architecture

  • Containers 0 added · 0 removed · contexts 0 added · 1 removed · edges 0 added · 0 removed

Removed bounded contexts (1)

  • mybatis-plus-spring-boot-native-image

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

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 a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9291924028144310106c29115b8ad004be7c219a — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.