From 2ac5e1bf6987e5148021beeb23e055e2910e32db Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 22 Jun 2017 19:37:06 +0900 Subject: [PATCH] fixed rrr --- .../com/loafle/overflow/module/probe/model/Probe.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java index 914c7f3..ba2395f 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java @@ -81,8 +81,8 @@ public class Probe { this.nextPollingDate = nextPollingDate; } - @Basic - @Column(name = "DOMAIN_ID", nullable = false) + @ManyToOne + @JoinColumn(name = "DOMAIN_ID", nullable = false) public Domain getDomain() { return domain; } @@ -91,8 +91,8 @@ public class Probe { this.domain = domain; } - @Basic - @Column(name = "PROBE_KEY", nullable = false, length = 50) + + @Column(name = "PROBE_KEY", nullable = false) public String getProbeKey() { return probeKey; }