Annotation Interface CreatorTimestamp


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface CreatorTimestamp
This annotation can be used to mark entity fields. If a new entity is saved, in which the primary key is not defined (null), then the field value will be the current date. This 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