Mybatis-plus is a MyBatis enhancement toolkit used to simplify CRUD operations. This toolkit provides some efficient, useful, ready-to-use functions for MyBatis, using it can effectively save your development time.
Mybatis-plus features
Fully compatible with MyBatis
Automatically configure on startup
Out-of-the-box interface for working with databases
Powerful and flexible conditional wrappers
Various strategies for generating primary keys
Lambda style API
Versatile and highly customizable code generator
Automatic paging operation
SQL injection defense
Support activity recording
Supports pluggable custom interfaces
Many useful extensions built-in
Mybatis-plus function
1. Single table CURD (simple + batch) operation, automatically completed (supports like comparison and other queries).
2. Paging plug-in, automatic Count query or customized SQL query.
3. Spring loads different configuration support according to different environments (supports typeAliasesPackage wildcard scanning).
[Automatically generate Entity Mapper Service files]
Mybatis-plus update log
v3.4.3
Added support for Hangao database
Add annotation Order By to support default sorting
Wrapper exists notExists orderBy groupBy supports parameter binding
Wrapper supports setParamAlias and other optimizations
Optimize KeyGenerator to support multiple implementations of multi-data source injection
Enhanced ServiceImpl generic inference to solve multiple inheritance and proxy issues
Added PageDto for microservice object transmission serialization
Added Page to provide static of construction method
Add proxy MethodHandleProxies to support lambda debugging
Adjust ActiveRecord log object initialization
Adjust the ActiveRecord mode Model class to develop the pkVal method to be externally available
Remove code marked as obsolete
Optimize the way to obtain enumeration values
Paging count safe processing
Sequence method supports overriding support
Upgrade Mybatis 3.5.7
Fix automatic configuration lazy-initialization no attribute prompt
Fix the problem that the field name of mysql on duplicate key update is judged to be the table name
Fix lambda condition npe exception
Refactor lambda information extraction method
Obtaining lambda information is not serialized
Merge gitee pulls/141
fixed github issues/3208 3016
fixed github issues/3482 Data permission processor supports union all
Adjustment transaction does not enable printing prompt information
Unit test optimization related dependency upgrades