This commit is contained in:
crusader 2018-06-12 14:13:58 +09:00
parent 8ba84132f7
commit a6112e0725
5 changed files with 2 additions and 5 deletions

View File

@ -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.47-SNAPSHOT</version> <version>1.0.48-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name> <name>com.loafle.overflow.commons-java</name>
<properties> <properties>

View File

@ -6,7 +6,6 @@ import javax.persistence.*;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "META_TARGET_HOST_TYPE", schema = "public")
@DiscriminatorValue("2") @DiscriminatorValue("2")
public class MetaTargetHostType extends MetaTargetType { public class MetaTargetHostType extends MetaTargetType {
public MetaTargetHostType() { public MetaTargetHostType() {

View File

@ -6,7 +6,6 @@ import javax.persistence.*;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "META_TARGET_SERVICE_TYPE", schema = "public")
@DiscriminatorValue("3") @DiscriminatorValue("3")
public class MetaTargetServiceType extends MetaTargetType { public class MetaTargetServiceType extends MetaTargetType {
public MetaTargetServiceType() { public MetaTargetServiceType() {

View File

@ -9,7 +9,7 @@ import java.util.Date;
*/ */
@Entity @Entity
@Table(name = "META_TARGET_TYPE", schema = "public") @Table(name = "META_TARGET_TYPE", schema = "public")
@Inheritance(strategy = InheritanceType.JOINED) @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "META_INFRA_TYPE_ID", discriminatorType = DiscriminatorType.INTEGER) @DiscriminatorColumn(name = "META_INFRA_TYPE_ID", discriminatorType = DiscriminatorType.INTEGER)
public abstract class MetaTargetType { public abstract class MetaTargetType {
private Integer id; private Integer id;

View File

@ -6,7 +6,6 @@ import javax.persistence.*;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "META_TARGET_ZONE_TYPE", schema = "public")
@DiscriminatorValue("1") @DiscriminatorValue("1")
public class MetaTargetZoneType extends MetaTargetType { public class MetaTargetZoneType extends MetaTargetType {
public MetaTargetZoneType() { public MetaTargetZoneType() {