From 2de921d543b37ef8e409c5ce0ba346dc1490ca57 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 15 Jun 2018 12:28:33 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- src/main/java/com/loafle/overflow/model/infra/InfraHost.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f2e028b..3c2910a 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.72-SNAPSHOT + 1.0.73-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/infra/InfraHost.java b/src/main/java/com/loafle/overflow/model/infra/InfraHost.java index a02807f..ab8d574 100644 --- a/src/main/java/com/loafle/overflow/model/infra/InfraHost.java +++ b/src/main/java/com/loafle/overflow/model/infra/InfraHost.java @@ -59,7 +59,7 @@ public class InfraHost extends Infra { /** * @return the infraHostMachine */ - @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL, mappedBy = "infraHost") + @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL) @JoinColumn(name = "INFRA_HOST_MACHINE_ID", nullable = true) public InfraHostMachine getInfraHostMachine() { return infraHostMachine; @@ -75,7 +75,7 @@ public class InfraHost extends Infra { /** * @return the infraHostOS */ - @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL, mappedBy = "infraHost") + @OneToOne(fetch = FetchType.EAGER, cascade = CascadeType.ALL) @JoinColumn(name = "INFRA_HOST_OS_ID", nullable = true) public InfraHostOS getInfraHostOS() { return infraHostOS;