注释类型 CreationTimestamp
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface CreationTimestamp
Marks a property as the creation timestamp of the containing entity. The property value will be set to the current VM date exactly once when saving the owning entity for the first time.Supported property types:
- 作者:
- Gunnar Morling