ing
This commit is contained in:
parent
5cc57b651f
commit
79a724263c
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user