From 394edd43d4b8eb486d35032beae2dc1fe4e0831d Mon Sep 17 00:00:00 2001 From: snoop Date: Sun, 25 Jun 2017 17:01:42 +0900 Subject: [PATCH] added test --- .../com/loafle/overflow/meta/model/MetaProbeArchitecture.java | 2 +- src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaProbePackage.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaProbeVersion.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java index 7a9b492..88662a5 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java @@ -33,7 +33,7 @@ public class MetaProbeArchitecture { } @Temporal(TemporalType.TIMESTAMP) - @Column(name = "CREATE_DATE", nullable = false) + @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) public Date getCreateDate() { return createDate; } diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java index c2c6bdb..a2bedb1 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java @@ -33,7 +33,7 @@ public class MetaProbeOs { } @Temporal(TemporalType.TIMESTAMP) - @Column(name = "CREATE_DATE", nullable = true) + @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) public Date getCreateDate() { return createDate; } diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java index 1375fc8..cddb8ca 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java @@ -56,7 +56,7 @@ public class MetaProbePackage { } @Temporal(TemporalType.TIMESTAMP) - @Column(name = "CREATE_DATE", nullable = false) + @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) public Date getCreateDate() { return createDate; } diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java index 6e18132..9174281 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java @@ -34,7 +34,7 @@ public class MetaProbeVersion { } @Temporal(TemporalType.TIMESTAMP) - @Column(name = "CREATE_DATE", nullable = true) + @Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false) public Date getCreateDate() { return createDate; }