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>
|
<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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user