I\'d like to add a Date/DateTime/Timestamp field on an entity object, that will be automatically created when the entity is created/persisted and set to \"now\", never to be
I think it's a little bit clearly
@Column(name = "created_at") @CreationTimestamp private LocalDateTime createdAt; @Column(name = "updated_at") @UpdateTimestamp private LocalDateTime updatedAt;