Annotation Interface ModifierTimestamp


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface ModifierTimestamp
This annotation can be used to mark entity fields. If a new entity is saved, in which the primary key is defined, and is persisted, then the field value will be the current date. his value is always written in the field value, regardless if the field contains any value(s). This value assignment will happen automatically during the use of the JPA.
Since:
4.0
Author:
JBStrap