diff --git a/pom.xml b/pom.xml
index 0dbd632..000a21c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
com.loafle.overflow
commons-java
jar
- 1.0.66-SNAPSHOT
+ 1.0.67-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 109c01c..2f90d95 100644
--- a/src/main/java/com/loafle/overflow/model/infra/InfraHost.java
+++ b/src/main/java/com/loafle/overflow/model/infra/InfraHost.java
@@ -20,8 +20,6 @@ public class InfraHost extends Infra {
private InfraHostOS infraHostOS;
private List infraHostIPs;
private List infraHostPorts;
- private List infraHostApplications;
- private List infraHostDaemons;
public InfraHost() {
super();
@@ -86,7 +84,7 @@ public class InfraHost extends Infra {
/**
* @return the infraHostIPs
*/
- @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
+ @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL, orphanRemoval = true)
public List getInfraHostIPs() {
return infraHostIPs;
}
@@ -101,7 +99,7 @@ public class InfraHost extends Infra {
/**
* @return the infraHostPorts
*/
- @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
+ @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL, orphanRemoval = true)
public List getInfraHostPorts() {
return infraHostPorts;
}
@@ -112,35 +110,4 @@ public class InfraHost extends Infra {
public void setInfraHostPorts(List infraHostPorts) {
this.infraHostPorts = infraHostPorts;
}
-
- /**
- * @return the infraHostApplications
- */
- @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
- public List getInfraHostApplications() {
- return infraHostApplications;
- }
-
- /**
- * @param infraHostApplications the infraHostApplications to set
- */
- public void setInfraHostApplications(List infraHostApplications) {
- this.infraHostApplications = infraHostApplications;
- }
-
- /**
- * @return the infraHostDaemons
- */
- @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
- public List getInfraHostDaemons() {
- return infraHostDaemons;
- }
-
- /**
- * @param infraHostDaemons the infraHostDaemons to set
- */
- public void setInfraHostDaemons(List infraHostDaemons) {
- this.infraHostDaemons = infraHostDaemons;
- }
-
}