Annotation Interface Version
@Column(update="${column} = ${column} + 1",
onDuplicateKey="${column} = values(${column}) + 1")
@Default
@ReadOnly
@Documented
@Order(2147483447)
@Target(FIELD)
@Retention(RUNTIME)
@Version
public @interface Version
Marked the element is a version record, it's a
ReadOnly column, it's value insert by Default, such as 1, and modified when update whit column = column + 1.- 从以下版本开始:
- 1.0.0
- 版本:
- 1.0.0
- 作者:
- ilikly
- 另请参阅:
-
可选元素概要
可选元素
-
元素详细资料
-
value
Alias forColumn.value().- 默认值:
- ""
-
name
Alias forColumn.name().- 默认值:
- ""
-