jpa update timestamp value code example
Example: on update current_timestamp jpa
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "edit_timestamp",
updatable = false
columnDefinition="TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
private Date editTimestamp;