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;