From 063e04675d9619d6abc2c2ef115edf195cb45594 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 12 Jun 2018 14:46:13 +0900 Subject: [PATCH] ing --- pom.xml | 2 +- .../java/com/loafle/overflow/model/meta/MetaTargetType.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index eba6662..7225163 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ com.loafle.overflow commons-java jar - 1.0.49-SNAPSHOT + 1.0.50-SNAPSHOT com.loafle.overflow.commons-java diff --git a/src/main/java/com/loafle/overflow/model/meta/MetaTargetType.java b/src/main/java/com/loafle/overflow/model/meta/MetaTargetType.java index 419bf75..7808d3c 100644 --- a/src/main/java/com/loafle/overflow/model/meta/MetaTargetType.java +++ b/src/main/java/com/loafle/overflow/model/meta/MetaTargetType.java @@ -10,7 +10,7 @@ import java.util.Date; @Entity @Table(name = "META_TARGET_TYPE", schema = "public") @Inheritance(strategy = InheritanceType.SINGLE_TABLE) -@DiscriminatorColumn(name = "TARGET_TYPE", discriminatorType = DiscriminatorType.INTEGER) +@DiscriminatorColumn(name = "META_INFRA_TYPE_ID", discriminatorType = DiscriminatorType.INTEGER) public abstract class MetaTargetType { private Integer id; private MetaInfraType metaInfraType; @@ -29,7 +29,7 @@ public abstract class MetaTargetType { } @ManyToOne - @JoinColumn(name = "META_INFRA_TYPE_ID") + @JoinColumn(name = "META_INFRA_TYPE_ID", insertable = true, updatable = false) public MetaInfraType getMetaInfraType() { return metaInfraType; }