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) @Column(nullable = false)
private String configPath; private String configPath;
@Temporal(TemporalType.TIMESTAMP) @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false, updatable = false)
@Column(nullable = false)
private Date installDate; private Date installDate;
@Temporal(TemporalType.TIMESTAMP) @Column(columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", nullable = false, insertable = false)
private Date updateDate; private Date updateDate;
public Collector() { public Collector() {