table name = TBL_
This commit is contained in:
snoop 2017-06-23 12:44:13 +09:00
parent 06bc172f2f
commit 9463e2805e
38 changed files with 38 additions and 38 deletions

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_CRAWLER", schema = "public", catalog = "postgres") @Table(name = "META_CRAWLER", schema = "public", catalog = "postgres")
public class MetaCrawler { public class MetaCrawler {
private short id; private short id;
private Date createDate; private Date createDate;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_CRAWLER_INPUT_ITEM", schema = "public", catalog = "postgres") @Table(name = "META_CRAWLER_INPUT_ITEM", schema = "public", catalog = "postgres")
public class MetaCrawlerInputItem { public class MetaCrawlerInputItem {
private int id; private int id;
private MetaInputType metaInputType; private MetaInputType metaInputType;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_INFRA_TYPE", schema = "public", catalog = "postgres") @Table(name = "META_INFRA_TYPE", schema = "public", catalog = "postgres")
public class MetaInfraType { public class MetaInfraType {
private int id; private int id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_INFRA_VENDOR", schema = "public", catalog = "postgres") @Table(name = "META_INFRA_VENDOR", schema = "public", catalog = "postgres")
public class MetaInfraVendor { public class MetaInfraVendor {
private int id; private int id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_INPUT_TYPE", schema = "public", catalog = "postgres") @Table(name = "META_INPUT_TYPE", schema = "public", catalog = "postgres")
public class MetaInputType { public class MetaInputType {
private short id; private short id;
private String name; private String name;

View File

@ -6,7 +6,7 @@ import javax.persistence.*;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_MEMBER_STATUS", schema = "public", catalog = "postgres") @Table(name = "META_MEMBER_STATUS", schema = "public", catalog = "postgres")
public class MetaMemberStatus { public class MetaMemberStatus {
private short id; private short id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_NOTIFICATION", schema = "public", catalog = "postgres") @Table(name = "META_NOTIFICATION", schema = "public", catalog = "postgres")
public class MetaNotification { public class MetaNotification {
private long id; private long id;
private Date createDate; private Date createDate;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_PROBE_ARCHITECTURE", schema = "public", catalog = "postgres") @Table(name = "META_PROBE_ARCHITECTURE", schema = "public", catalog = "postgres")
public class MetaProbeArchitecture { public class MetaProbeArchitecture {
private short id; private short id;
private String architecture; private String architecture;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_PROBE_OS", schema = "public", catalog = "postgres") @Table(name = "META_PROBE_OS", schema = "public", catalog = "postgres")
public class MetaProbeOs { public class MetaProbeOs {
private short id; private short id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_PROBE_PACKAGE", schema = "public", catalog = "postgres") @Table(name = "META_PROBE_PACKAGE", schema = "public", catalog = "postgres")
public class MetaProbePackage { public class MetaProbePackage {
private long id; private long id;
private MetaProbeVersion version; private MetaProbeVersion version;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_PROBE_TASK_TYPE", schema = "public", catalog = "postgres") @Table(name = "META_PROBE_TASK_TYPE", schema = "public", catalog = "postgres")
public class MetaProbeTaskType { public class MetaProbeTaskType {
private short id; private short id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_PROBE_VERSION", schema = "public", catalog = "postgres") @Table(name = "META_PROBE_VERSION", schema = "public", catalog = "postgres")
public class MetaProbeVersion { public class MetaProbeVersion {
private short id; private short id;
private String version; private String version;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_SENSOR_ITEM", schema = "public", catalog = "postgres") @Table(name = "META_SENSOR_ITEM", schema = "public", catalog = "postgres")
public class MetaSensorItem { public class MetaSensorItem {
private int id; private int id;
private MetaSensorItemType metaSensorItemType; private MetaSensorItemType metaSensorItemType;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_SENSOR_ITEM_TYPE", schema = "public", catalog = "postgres") @Table(name = "META_SENSOR_ITEM_TYPE", schema = "public", catalog = "postgres")
public class MetaSensorItemType { public class MetaSensorItemType {
private short id; private short id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_VENDOR_CRAWLER", schema = "public", catalog = "postgres") @Table(name = "META_VENDOR_CRAWLER", schema = "public", catalog = "postgres")
public class MetaVendorCrawler { public class MetaVendorCrawler {
private int id; private int id;
private MetaCrawler metaCrawler; private MetaCrawler metaCrawler;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_META_VENDOR_CRAWLER_SENSOR_ITEM", schema = "public", catalog = "postgres") @Table(name = "META_VENDOR_CRAWLER_SENSOR_ITEM", schema = "public", catalog = "postgres")
public class MetaVendorCrawlerSensorItem { public class MetaVendorCrawlerSensorItem {
private long id; private long id;
private String interval; private String interval;

View File

@ -10,7 +10,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_API_KEY", schema = "public", catalog = "postgres") @Table(name = "API_KEY", schema = "public", catalog = "postgres")
public class ApiKey { public class ApiKey {
private long id; private long id;
private String apiKey; private String apiKey;

View File

@ -8,7 +8,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_DOMAIN", schema = "public", catalog = "postgres") @Table(name = "DOMAIN", schema = "public", catalog = "postgres")
public class Domain { public class Domain {
private long id; private long id;
private String name; private String name;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_DOMAIN_MEMBER", schema = "public", catalog = "postgres") @Table(name = "DOMAIN_MEMBER", schema = "public", catalog = "postgres")
public class DomainMember { public class DomainMember {
private long id; private long id;
private Timestamp createDate; private Timestamp createDate;

View File

@ -9,7 +9,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_EMAIL_AUTH", schema = "public", catalog = "postgres") @Table(name = "EMAIL_AUTH", schema = "public", catalog = "postgres")
public class EmailAuth { public class EmailAuth {
private long id; private long id;
private String emailAuthKey; private String emailAuthKey;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_HISTORY", schema = "public", catalog = "postgres") @Table(name = "HISTORY", schema = "public", catalog = "postgres")
public class History { public class History {
private long id; private long id;
private Date createDate; private Date createDate;

View File

@ -9,7 +9,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA", schema = "public", catalog = "postgres") @Table(name = "INFRA", schema = "public", catalog = "postgres")
public class Infra { public class Infra {
private long id; private long id;
private MetaInfraType type; private MetaInfraType type;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_HOST", schema = "public", catalog = "postgres") @Table(name = "INFRA_HOST", schema = "public", catalog = "postgres")
public class InfraHost { public class InfraHost {
private long id; private long id;
private long osId; private long osId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_MACHINE", schema = "public", catalog = "postgres") @Table(name = "INFRA_MACHINE", schema = "public", catalog = "postgres")
public class InfraMachine { public class InfraMachine {
private long id; private long id;
private long probeId; private long probeId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_OS", schema = "public", catalog = "postgres") @Table(name = "INFRA_OS", schema = "public", catalog = "postgres")
public class InfraOs { public class InfraOs {
private long id; private long id;
private long machineId; private long machineId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_OS_APPLICATION", schema = "public", catalog = "postgres") @Table(name = "INFRA_OS_APPLICATION", schema = "public", catalog = "postgres")
public class InfraOsApplication { public class InfraOsApplication {
private long id; private long id;
private long osId; private long osId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_OS_DAEMON", schema = "public", catalog = "postgres") @Table(name = "INFRA_OS_DAEMON", schema = "public", catalog = "postgres")
public class InfraOsDaemon { public class InfraOsDaemon {
private long id; private long id;
private long osId; private long osId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_OS_PORT", schema = "public", catalog = "postgres") @Table(name = "INFRA_OS_PORT", schema = "public", catalog = "postgres")
public class InfraOsPort { public class InfraOsPort {
private long id; private long id;
private long osId; private long osId;

View File

@ -7,7 +7,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_INFRA_SERVICE", schema = "public", catalog = "postgres") @Table(name = "INFRA_SERVICE", schema = "public", catalog = "postgres")
public class InfraService { public class InfraService {
private long id; private long id;
private long hostId; private long hostId;

View File

@ -9,7 +9,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_MEMBER", schema = "public", catalog = "postgres") @Table(name = "MEMBER", schema = "public", catalog = "postgres")
public class Member { public class Member {
private long id; private long id;
private String email; private String email;

View File

@ -14,7 +14,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_NOAUTH_PROBE", schema = "public", catalog = "postgres") @Table(name = "NOAUTH_PROBE", schema = "public", catalog = "postgres")
public class NoAuthProbe { public class NoAuthProbe {
private long id; private long id;
private String hostName; private String hostName;

View File

@ -10,7 +10,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_PROBE", schema = "public", catalog = "postgres") @Table(name = "PROBE", schema = "public", catalog = "postgres")
public class Probe { public class Probe {
private long id; private long id;
private String status; private String status;

View File

@ -9,7 +9,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_PROBE_TASK", schema = "public", catalog = "postgres") @Table(name = "PROBE_TASK", schema = "public", catalog = "postgres")
public class ProbeTask { public class ProbeTask {
private long id; private long id;
private MetaProbeTaskType metaProbeTaskType; private MetaProbeTaskType metaProbeTaskType;

View File

@ -10,7 +10,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_SENSOR", schema = "public", catalog = "postgres") @Table(name = "SENSOR", schema = "public", catalog = "postgres")
public class Sensor { public class Sensor {
private long id; private long id;
private Date createDate; private Date createDate;

View File

@ -9,7 +9,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_SENSOR_ITEM", schema = "public", catalog = "postgres") @Table(name = "SENSOR_ITEM", schema = "public", catalog = "postgres")
public class SensorItem { public class SensorItem {
private long id; private long id;
private Sensor sensor; private Sensor sensor;

View File

@ -10,7 +10,7 @@ import java.sql.Timestamp;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_TARGET", schema = "public", catalog = "postgres") @Table(name = "TARGET", schema = "public", catalog = "postgres")
public class Target { public class Target {
private long id; private long id;

View File

@ -7,7 +7,7 @@ import java.util.Date;
* Created by root on 17. 6. 22. * Created by root on 17. 6. 22.
*/ */
@Entity @Entity
@Table(name = "TBL_UI_WEBSOCKET", schema = "public", catalog = "postgres") @Table(name = "UI_WEBSOCKET", schema = "public", catalog = "postgres")
public class UiWebsocket { public class UiWebsocket {
private long id; private long id;
private Date createDate; private Date createDate;

View File

@ -32,7 +32,7 @@ public class NoAuthProbeDAOTest {
} }
@Ignore // @Ignore
@Test @Test
public void saveNoauth() { public void saveNoauth() {