From 91edf25603adec29a22913ac3e52c045e5c085a5 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 15 Jun 2018 16:51:46 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- .../java/com/loafle/overflow/model/infra/InfraHostIP.java | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8ba47b5..bf04476 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.81-SNAPSHOT + 1.0.82-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/infra/InfraHostIP.java b/src/main/java/com/loafle/overflow/model/infra/InfraHostIP.java index 48f90d0..16a47f8 100644 --- a/src/main/java/com/loafle/overflow/model/infra/InfraHostIP.java +++ b/src/main/java/com/loafle/overflow/model/infra/InfraHostIP.java @@ -4,6 +4,9 @@ import javax.persistence.*; import com.loafle.overflow.model.meta.MetaIPType; +import org.codehaus.jackson.annotate.JsonBackReference; +import org.codehaus.jackson.annotate.JsonManagedReference; + import java.util.Date; /** @@ -13,6 +16,8 @@ import java.util.Date; @Table(name = "INFRA_HOST_IP", schema = "public") public class InfraHostIP { private Long id; + @JsonBackReference + @JsonManagedReference private InfraHost infraHost; private MetaIPType metaIPType; private String address;