| Enum | Description |
|---|---|
| FillRule |
用于 SQL 语句在 INSERT/UPDATE 的时候,字段是否需要进行填充,因为生成 Mybatis SQL 语句的时候默认会使用 <if
test="id != null"> 这种表达式判断,需要提前标记字段是否不需要 if 表达式进行包装,需要配合
ParameterHandlerCustomizer 进行设置值。 |
| GenerationType |
生成主键id策略类型
|
| SequenceGenerator.Order |
| Annotation Type | Description |
|---|---|
| Column |
Is used to specify a mapped column for a persistent property or field.
|
| SelectKey |
用于
GenerationType.SELECT_KEY 策略,使用 SelectKeyGenerator 来实现。 |
| SequenceGenerator |
序列生成器规则
|
| SequenceKey | |
| Table |
This annotation specifies the primary table for the annotated entity.
|
Copyright © 2018–2022. All rights reserved.