This commit is contained in:
crusader 2018-06-15 12:28:33 +09:00
parent 1afea3de2f
commit 2de921d543
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.72-SNAPSHOT</version>
<version>1.0.73-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

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