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;
Are there any code examples left?
New code examples in category SQL