Implementing Enum Value Conversion with MyBatis-Plus
There are several methods to handle enum value conversion:
Server-side mapping: Return enum values from backend API endpoints
Annotation-based conversion: Use MyBatis-Plus annotations for automatic enum handling
Method 1: Implementing IEnum Interface
public enum GenderType implements IEnum<Integer> {
MALE(1, "Male"), ...
Posted on Sun, 20 Sep 2026 16:55:10 +0000 by jadebabe
Understanding Spring's BeanFactory Container
In the Spring framework, components that form the backbone of your application and are managed by the Spring IoC container are referred to as beans. Essentially, a bean is an object that is instantiated, configured, and managed by the Spring container. Beyond this container management, beans behave just like any other object in your application ...
Posted on Sat, 05 Sep 2026 16:06:53 +0000 by bluemonster