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>
<artifactId>commons-java</artifactId>
<packaging>jar</packaging>
<version>1.0.78-SNAPSHOT</version>
<version>1.0.79-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name>
<properties>

View File

@ -6,7 +6,7 @@ import javax.persistence.*;
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.FetchMode;
@ -23,7 +23,7 @@ public class InfraHost extends Infra {
private InfraHostMachine infraHostMachine;
private InfraHostOS infraHostOS;
@JsonBackReference
@JsonManagedReference
private List<InfraHostIP> infraHostIPs;
private InfraHost containerInfraHost;

View File

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