Annotation Interface CreationTimestamp


@Retention(RUNTIME) @Target(FIELD) public @interface CreationTimestamp
Indicates that the annotated field should be automatically populated with the timestamp of entity creation. Example usage:

 public class ExampleEntity {
     @CreationTimestamp
     private OffsetDateTime createdAt;

     // Getter and setter methods
 }
 
Since:
1.0
Author:
Blyzhnytsia Team
See Also: