From a03f09f22772adb1f55028b8221cdf1d2a8232d0 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 6 Jun 2018 00:52:07 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- .../com/loafle/overflow/model/probe/ProbeHost.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 8bc3b32..7f70ccb 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.11-SNAPSHOT + 1.0.12-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/probe/ProbeHost.java b/src/main/java/com/loafle/overflow/model/probe/ProbeHost.java index 206398d..588bb3b 100644 --- a/src/main/java/com/loafle/overflow/model/probe/ProbeHost.java +++ b/src/main/java/com/loafle/overflow/model/probe/ProbeHost.java @@ -14,7 +14,7 @@ public class ProbeHost { private Long id; private Probe probe; - private InfraHost host; + private InfraHost infraHost; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @@ -37,12 +37,12 @@ public class ProbeHost { } @OneToOne - @JoinColumn(name = "HOST_ID", nullable = false) - public InfraHost getHost() { - return host; + @JoinColumn(name = "INFRA_HOST_ID", nullable = false) + public InfraHost getInfraHost() { + return infraHost; } - public void setHost(InfraHost infraHost) { - this.host = infraHost; + public void setInfraHost(InfraHost infraHost) { + this.infraHost = infraHost; } }