ing
This commit is contained in:
@@ -86,7 +86,7 @@ public class InfraHost extends Infra {
|
||||
/**
|
||||
* @return the infraHostIPs
|
||||
*/
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy = "infraHost")
|
||||
public List<InfraHostIP> getInfraHostIPs() {
|
||||
return infraHostIPs;
|
||||
}
|
||||
@@ -101,7 +101,7 @@ public class InfraHost extends Infra {
|
||||
/**
|
||||
* @return the infraHostPorts
|
||||
*/
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy = "infraHost")
|
||||
public List<InfraHostPort> getInfraHostPorts() {
|
||||
return infraHostPorts;
|
||||
}
|
||||
@@ -116,7 +116,7 @@ public class InfraHost extends Infra {
|
||||
/**
|
||||
* @return the infraHostApplications
|
||||
*/
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy = "infraHost")
|
||||
public List<InfraHostApplication> getInfraHostApplications() {
|
||||
return infraHostApplications;
|
||||
}
|
||||
@@ -131,7 +131,7 @@ public class InfraHost extends Infra {
|
||||
/**
|
||||
* @return the infraHostDaemons
|
||||
*/
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)
|
||||
@OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy = "infraHost")
|
||||
public List<InfraHostDaemon> getInfraHostDaemons() {
|
||||
return infraHostDaemons;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,6 @@ public class InfraHostApplication {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
@Column(name = "CREATE_DATE", nullable = false, columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP", insertable = false, updatable = false)
|
||||
public Date getCreateDate() {
|
||||
|
||||
Reference in New Issue
Block a user