Package org.hibernate.annotations
Annotation Type UpdateTimestamp
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface UpdateTimestamp
Marks a property as the update timestamp of the containing entity. The property value will be set to the current VM date whenever the owning entity is updated.Supported property types:
Date
Calendar
Date
Time
Timestamp
Instant
LocalDate
LocalDateTime
LocalTime
MonthDay
OffsetDateTime
OffsetTime
Year
YearMonth
ZonedDateTime