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;
}
}