Indicates that the annotated field should be automatically populated with the timestamp of entity creation.
public class ExampleEntity {
@CreationTimestamp
private OffsetDateTime createdAt;
// Getter and setter methods
}
Indicates that the annotated field should be automatically populated with the timestamp of entity creation.
public class ExampleEntity {
@CreationTimestamp
private OffsetDateTime createdAt;
// Getter and setter methods
}