ing
This commit is contained in:
parent
8ba84132f7
commit
a6112e0725
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.47-SNAPSHOT</version>
|
||||
<version>1.0.48-SNAPSHOT</version>
|
||||
<name>com.loafle.overflow.commons-java</name>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
|||
* Created by root on 17. 6. 22.
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "META_TARGET_HOST_TYPE", schema = "public")
|
||||
@DiscriminatorValue("2")
|
||||
public class MetaTargetHostType extends MetaTargetType {
|
||||
public MetaTargetHostType() {
|
||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
|||
* Created by root on 17. 6. 22.
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "META_TARGET_SERVICE_TYPE", schema = "public")
|
||||
@DiscriminatorValue("3")
|
||||
public class MetaTargetServiceType extends MetaTargetType {
|
||||
public MetaTargetServiceType() {
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
|||
*/
|
||||
@Entity
|
||||
@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)
|
||||
public abstract class MetaTargetType {
|
||||
private Integer id;
|
||||
|
|
|
@ -6,7 +6,6 @@ import javax.persistence.*;
|
|||
* Created by root on 17. 6. 22.
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "META_TARGET_ZONE_TYPE", schema = "public")
|
||||
@DiscriminatorValue("1")
|
||||
public class MetaTargetZoneType extends MetaTargetType {
|
||||
public MetaTargetZoneType() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user