annotation

This commit is contained in:
insanity 2016-11-18 11:33:39 +09:00
parent 8d9efcade6
commit 2d070eb981

View File

@ -31,11 +31,10 @@ public class Collector {
@Column(nullable = false)
private String configPath;
@Temporal(TemporalType.TIMESTAMP)
@Column(nullable = false)
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false)
private Date installDate;
@Temporal(TemporalType.TIMESTAMP)
@Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false)
private Date updateDate;
public Collector() {