This commit is contained in:
crusader 2018-06-15 16:10:17 +09:00
parent 5cc57b651f
commit 79a724263c
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -6,7 +6,7 @@ import javax.persistence.*;
import com.loafle.overflow.model.meta.MetaTargetHostType; import com.loafle.overflow.model.meta.MetaTargetHostType;
import org.codehaus.jackson.annotate.JsonBackReference; import org.codehaus.jackson.annotate.JsonManagedReference;
import org.hibernate.annotations.Fetch; import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode; import org.hibernate.annotations.FetchMode;
@ -23,7 +23,7 @@ public class InfraHost extends Infra {
private InfraHostMachine infraHostMachine; private InfraHostMachine infraHostMachine;
private InfraHostOS infraHostOS; private InfraHostOS infraHostOS;
@JsonBackReference @JsonManagedReference
private List<InfraHostIP> infraHostIPs; private List<InfraHostIP> infraHostIPs;
private InfraHost containerInfraHost; private InfraHost containerInfraHost;

View File

@ -4,7 +4,7 @@ import javax.persistence.*;
import com.loafle.overflow.model.meta.MetaIPType; import com.loafle.overflow.model.meta.MetaIPType;
import org.codehaus.jackson.annotate.JsonManagedReference; import org.codehaus.jackson.annotate.JsonBackReference;
import java.util.Date; import java.util.Date;
@ -15,7 +15,7 @@ import java.util.Date;
@Table(name = "INFRA_HOST_IP", schema = "public") @Table(name = "INFRA_HOST_IP", schema = "public")
public class InfraHostIP { public class InfraHostIP {
private Long id; private Long id;
@JsonManagedReference @JsonBackReference
private InfraHost infraHost; private InfraHost infraHost;
private MetaIPType metaIPType; private MetaIPType metaIPType;
private String address; private String address;