on update current timestamp jpa

Solutions on MaxInterview for on update current timestamp jpa by the best coders in the world

showing results for - "on update current timestamp jpa"
Caroline
12 Jun 2019
1@Temporal(TemporalType.TIMESTAMP)
2@Column(name = "edit_timestamp", 
3        updatable = false
4        columnDefinition="TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
5private Date editTimestamp;