Advanced MyBatis-Plus Features: Type Handlers, Auto-Filling, Optimistic Locking, and Multi-DataSource Configuration
1. Field Type Handlers
In certain scenarios, entity classes may utilize Map collections to receive data from frontend applications. However, when storing this data in databases, JSON format is often used, which本质上 is a string stored as a VARCHAR type. Field type handlers facilitate the conversion between Map types in entity classes and VARC ...
Posted on Thu, 07 May 2026 15:23:20 +0000 by 01hanstu