From 9463e2805ee62054f369495b2ccdc10ae4a0a36e Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 23 Jun 2017 12:44:13 +0900 Subject: [PATCH] removed table name = TBL_ --- src/main/java/com/loafle/overflow/meta/model/MetaCrawler.java | 2 +- .../com/loafle/overflow/meta/model/MetaCrawlerInputItem.java | 2 +- src/main/java/com/loafle/overflow/meta/model/MetaInfraType.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaInfraVendor.java | 2 +- src/main/java/com/loafle/overflow/meta/model/MetaInputType.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaMemberStatus.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaNotification.java | 2 +- .../com/loafle/overflow/meta/model/MetaProbeArchitecture.java | 2 +- src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaProbePackage.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaProbeTaskType.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaProbeVersion.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaSensorItem.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaSensorItemType.java | 2 +- .../java/com/loafle/overflow/meta/model/MetaVendorCrawler.java | 2 +- .../loafle/overflow/meta/model/MetaVendorCrawlerSensorItem.java | 2 +- .../java/com/loafle/overflow/module/apikey/model/ApiKey.java | 2 +- src/main/java/com/loafle/overflow/module/domain/Domain.java | 2 +- .../java/com/loafle/overflow/module/domain/DomainMember.java | 2 +- .../java/com/loafle/overflow/module/email/model/EmailAuth.java | 2 +- src/main/java/com/loafle/overflow/module/history/History.java | 2 +- src/main/java/com/loafle/overflow/module/infra/Infra.java | 2 +- src/main/java/com/loafle/overflow/module/infra/InfraHost.java | 2 +- .../java/com/loafle/overflow/module/infra/InfraMachine.java | 2 +- src/main/java/com/loafle/overflow/module/infra/InfraOs.java | 2 +- .../com/loafle/overflow/module/infra/InfraOsApplication.java | 2 +- .../java/com/loafle/overflow/module/infra/InfraOsDaemon.java | 2 +- src/main/java/com/loafle/overflow/module/infra/InfraOsPort.java | 2 +- .../java/com/loafle/overflow/module/infra/InfraService.java | 2 +- .../java/com/loafle/overflow/module/member/model/Member.java | 2 +- .../loafle/overflow/module/noauthprobe/model/NoAuthProbe.java | 2 +- src/main/java/com/loafle/overflow/module/probe/model/Probe.java | 2 +- .../java/com/loafle/overflow/module/probe/model/ProbeTask.java | 2 +- .../java/com/loafle/overflow/module/sensor/model/Sensor.java | 2 +- .../com/loafle/overflow/module/sensor/model/SensorItem.java | 2 +- .../java/com/loafle/overflow/module/target/model/Target.java | 2 +- .../java/com/loafle/overflow/module/websocket/UiWebsocket.java | 2 +- .../overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaCrawler.java b/src/main/java/com/loafle/overflow/meta/model/MetaCrawler.java index bdd15f5..5fe20e1 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaCrawler.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaCrawler.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_CRAWLER", schema = "public", catalog = "postgres") +@Table(name = "META_CRAWLER", schema = "public", catalog = "postgres") public class MetaCrawler { private short id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaCrawlerInputItem.java b/src/main/java/com/loafle/overflow/meta/model/MetaCrawlerInputItem.java index 432595a..eb24a4e 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaCrawlerInputItem.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaCrawlerInputItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @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 { private int id; private MetaInputType metaInputType; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaInfraType.java b/src/main/java/com/loafle/overflow/meta/model/MetaInfraType.java index a642ed9..b051c4f 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaInfraType.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaInfraType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_INFRA_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_INFRA_TYPE", schema = "public", catalog = "postgres") public class MetaInfraType { private int id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaInfraVendor.java b/src/main/java/com/loafle/overflow/meta/model/MetaInfraVendor.java index 9c8999b..4da3da3 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaInfraVendor.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaInfraVendor.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_INFRA_VENDOR", schema = "public", catalog = "postgres") +@Table(name = "META_INFRA_VENDOR", schema = "public", catalog = "postgres") public class MetaInfraVendor { private int id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaInputType.java b/src/main/java/com/loafle/overflow/meta/model/MetaInputType.java index 6c8b6c6..4f55226 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaInputType.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaInputType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_INPUT_TYPE", schema = "public", catalog = "postgres") +@Table(name = "META_INPUT_TYPE", schema = "public", catalog = "postgres") public class MetaInputType { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaMemberStatus.java b/src/main/java/com/loafle/overflow/meta/model/MetaMemberStatus.java index 6a8a63e..2b9d79a 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaMemberStatus.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaMemberStatus.java @@ -6,7 +6,7 @@ import javax.persistence.*; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_MEMBER_STATUS", schema = "public", catalog = "postgres") +@Table(name = "META_MEMBER_STATUS", schema = "public", catalog = "postgres") public class MetaMemberStatus { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaNotification.java b/src/main/java/com/loafle/overflow/meta/model/MetaNotification.java index ee3393f..a1a7a06 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaNotification.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaNotification.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_NOTIFICATION", schema = "public", catalog = "postgres") +@Table(name = "META_NOTIFICATION", schema = "public", catalog = "postgres") public class MetaNotification { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java index b4b0483..bef78a8 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeArchitecture.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_PROBE_ARCHITECTURE", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_ARCHITECTURE", schema = "public", catalog = "postgres") public class MetaProbeArchitecture { private short id; private String architecture; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java index 63b46c0..6ac1a38 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeOs.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_PROBE_OS", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_OS", schema = "public", catalog = "postgres") public class MetaProbeOs { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java index 8e506c8..1375fc8 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbePackage.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_PROBE_PACKAGE", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_PACKAGE", schema = "public", catalog = "postgres") public class MetaProbePackage { private long id; private MetaProbeVersion version; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeTaskType.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeTaskType.java index 517fa67..c14eebe 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeTaskType.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeTaskType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @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 { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java b/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java index c162936..6e18132 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaProbeVersion.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_PROBE_VERSION", schema = "public", catalog = "postgres") +@Table(name = "META_PROBE_VERSION", schema = "public", catalog = "postgres") public class MetaProbeVersion { private short id; private String version; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaSensorItem.java b/src/main/java/com/loafle/overflow/meta/model/MetaSensorItem.java index 90e303d..12c2f27 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaSensorItem.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaSensorItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_SENSOR_ITEM", schema = "public", catalog = "postgres") +@Table(name = "META_SENSOR_ITEM", schema = "public", catalog = "postgres") public class MetaSensorItem { private int id; private MetaSensorItemType metaSensorItemType; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaSensorItemType.java b/src/main/java/com/loafle/overflow/meta/model/MetaSensorItemType.java index 2548ed5..71d9013 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaSensorItemType.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaSensorItemType.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @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 { private short id; private String name; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawler.java b/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawler.java index ea3bf90..19687e8 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawler.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawler.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_META_VENDOR_CRAWLER", schema = "public", catalog = "postgres") +@Table(name = "META_VENDOR_CRAWLER", schema = "public", catalog = "postgres") public class MetaVendorCrawler { private int id; private MetaCrawler metaCrawler; diff --git a/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawlerSensorItem.java b/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawlerSensorItem.java index 70757c9..5c25bcd 100644 --- a/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawlerSensorItem.java +++ b/src/main/java/com/loafle/overflow/meta/model/MetaVendorCrawlerSensorItem.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @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 { private long id; private String interval; diff --git a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java index b9f1ccb..4bbe260 100644 --- a/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java +++ b/src/main/java/com/loafle/overflow/module/apikey/model/ApiKey.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_API_KEY", schema = "public", catalog = "postgres") +@Table(name = "API_KEY", schema = "public", catalog = "postgres") public class ApiKey { private long id; private String apiKey; diff --git a/src/main/java/com/loafle/overflow/module/domain/Domain.java b/src/main/java/com/loafle/overflow/module/domain/Domain.java index fb5fe21..977e6cb 100644 --- a/src/main/java/com/loafle/overflow/module/domain/Domain.java +++ b/src/main/java/com/loafle/overflow/module/domain/Domain.java @@ -8,7 +8,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_DOMAIN", schema = "public", catalog = "postgres") +@Table(name = "DOMAIN", schema = "public", catalog = "postgres") public class Domain { private long id; private String name; diff --git a/src/main/java/com/loafle/overflow/module/domain/DomainMember.java b/src/main/java/com/loafle/overflow/module/domain/DomainMember.java index 3d289f0..23ac805 100644 --- a/src/main/java/com/loafle/overflow/module/domain/DomainMember.java +++ b/src/main/java/com/loafle/overflow/module/domain/DomainMember.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_DOMAIN_MEMBER", schema = "public", catalog = "postgres") +@Table(name = "DOMAIN_MEMBER", schema = "public", catalog = "postgres") public class DomainMember { private long id; private Timestamp createDate; diff --git a/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java b/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java index f704811..e166a68 100644 --- a/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java +++ b/src/main/java/com/loafle/overflow/module/email/model/EmailAuth.java @@ -9,7 +9,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_EMAIL_AUTH", schema = "public", catalog = "postgres") +@Table(name = "EMAIL_AUTH", schema = "public", catalog = "postgres") public class EmailAuth { private long id; private String emailAuthKey; diff --git a/src/main/java/com/loafle/overflow/module/history/History.java b/src/main/java/com/loafle/overflow/module/history/History.java index 931c773..f048820 100644 --- a/src/main/java/com/loafle/overflow/module/history/History.java +++ b/src/main/java/com/loafle/overflow/module/history/History.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_HISTORY", schema = "public", catalog = "postgres") +@Table(name = "HISTORY", schema = "public", catalog = "postgres") public class History { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/infra/Infra.java b/src/main/java/com/loafle/overflow/module/infra/Infra.java index e52a0a7..c3fa7d3 100644 --- a/src/main/java/com/loafle/overflow/module/infra/Infra.java +++ b/src/main/java/com/loafle/overflow/module/infra/Infra.java @@ -9,7 +9,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA", schema = "public", catalog = "postgres") +@Table(name = "INFRA", schema = "public", catalog = "postgres") public class Infra { private long id; private MetaInfraType type; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraHost.java b/src/main/java/com/loafle/overflow/module/infra/InfraHost.java index 48d1e09..427416e 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraHost.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraHost.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_HOST", schema = "public", catalog = "postgres") +@Table(name = "INFRA_HOST", schema = "public", catalog = "postgres") public class InfraHost { private long id; private long osId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraMachine.java b/src/main/java/com/loafle/overflow/module/infra/InfraMachine.java index e06fa7a..505d6df 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraMachine.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraMachine.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_MACHINE", schema = "public", catalog = "postgres") +@Table(name = "INFRA_MACHINE", schema = "public", catalog = "postgres") public class InfraMachine { private long id; private long probeId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraOs.java b/src/main/java/com/loafle/overflow/module/infra/InfraOs.java index 1e5a6cc..a321737 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraOs.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraOs.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_OS", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS", schema = "public", catalog = "postgres") public class InfraOs { private long id; private long machineId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraOsApplication.java b/src/main/java/com/loafle/overflow/module/infra/InfraOsApplication.java index 4b4b94b..00ea557 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraOsApplication.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraOsApplication.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_OS_APPLICATION", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_APPLICATION", schema = "public", catalog = "postgres") public class InfraOsApplication { private long id; private long osId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraOsDaemon.java b/src/main/java/com/loafle/overflow/module/infra/InfraOsDaemon.java index 2e51959..60a7935 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraOsDaemon.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraOsDaemon.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_OS_DAEMON", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_DAEMON", schema = "public", catalog = "postgres") public class InfraOsDaemon { private long id; private long osId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraOsPort.java b/src/main/java/com/loafle/overflow/module/infra/InfraOsPort.java index d59b114..e21dbe1 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraOsPort.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraOsPort.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_OS_PORT", schema = "public", catalog = "postgres") +@Table(name = "INFRA_OS_PORT", schema = "public", catalog = "postgres") public class InfraOsPort { private long id; private long osId; diff --git a/src/main/java/com/loafle/overflow/module/infra/InfraService.java b/src/main/java/com/loafle/overflow/module/infra/InfraService.java index 38bd0e0..b034c5b 100644 --- a/src/main/java/com/loafle/overflow/module/infra/InfraService.java +++ b/src/main/java/com/loafle/overflow/module/infra/InfraService.java @@ -7,7 +7,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_INFRA_SERVICE", schema = "public", catalog = "postgres") +@Table(name = "INFRA_SERVICE", schema = "public", catalog = "postgres") public class InfraService { private long id; private long hostId; diff --git a/src/main/java/com/loafle/overflow/module/member/model/Member.java b/src/main/java/com/loafle/overflow/module/member/model/Member.java index 0f66849..546c5ad 100644 --- a/src/main/java/com/loafle/overflow/module/member/model/Member.java +++ b/src/main/java/com/loafle/overflow/module/member/model/Member.java @@ -9,7 +9,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_MEMBER", schema = "public", catalog = "postgres") +@Table(name = "MEMBER", schema = "public", catalog = "postgres") public class Member { private long id; private String email; diff --git a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java index d345c53..4e6921b 100644 --- a/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java +++ b/src/main/java/com/loafle/overflow/module/noauthprobe/model/NoAuthProbe.java @@ -14,7 +14,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_NOAUTH_PROBE", schema = "public", catalog = "postgres") +@Table(name = "NOAUTH_PROBE", schema = "public", catalog = "postgres") public class NoAuthProbe { private long id; private String hostName; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java index c9e471c..bdd4bc4 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/Probe.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/Probe.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_PROBE", schema = "public", catalog = "postgres") +@Table(name = "PROBE", schema = "public", catalog = "postgres") public class Probe { private long id; private String status; diff --git a/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java b/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java index 54658be..eee8c3b 100644 --- a/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java +++ b/src/main/java/com/loafle/overflow/module/probe/model/ProbeTask.java @@ -9,7 +9,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_PROBE_TASK", schema = "public", catalog = "postgres") +@Table(name = "PROBE_TASK", schema = "public", catalog = "postgres") public class ProbeTask { private long id; private MetaProbeTaskType metaProbeTaskType; diff --git a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java index ff149a4..83b5d58 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java +++ b/src/main/java/com/loafle/overflow/module/sensor/model/Sensor.java @@ -10,7 +10,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_SENSOR", schema = "public", catalog = "postgres") +@Table(name = "SENSOR", schema = "public", catalog = "postgres") public class Sensor { private long id; private Date createDate; diff --git a/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java b/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java index e6a5ae8..9ca3145 100644 --- a/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java +++ b/src/main/java/com/loafle/overflow/module/sensor/model/SensorItem.java @@ -9,7 +9,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_SENSOR_ITEM", schema = "public", catalog = "postgres") +@Table(name = "SENSOR_ITEM", schema = "public", catalog = "postgres") public class SensorItem { private long id; private Sensor sensor; diff --git a/src/main/java/com/loafle/overflow/module/target/model/Target.java b/src/main/java/com/loafle/overflow/module/target/model/Target.java index 7b07c1f..15e901a 100644 --- a/src/main/java/com/loafle/overflow/module/target/model/Target.java +++ b/src/main/java/com/loafle/overflow/module/target/model/Target.java @@ -10,7 +10,7 @@ import java.sql.Timestamp; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_TARGET", schema = "public", catalog = "postgres") +@Table(name = "TARGET", schema = "public", catalog = "postgres") public class Target { private long id; diff --git a/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java b/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java index 532b24c..6ba781f 100644 --- a/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java +++ b/src/main/java/com/loafle/overflow/module/websocket/UiWebsocket.java @@ -7,7 +7,7 @@ import java.util.Date; * Created by root on 17. 6. 22. */ @Entity -@Table(name = "TBL_UI_WEBSOCKET", schema = "public", catalog = "postgres") +@Table(name = "UI_WEBSOCKET", schema = "public", catalog = "postgres") public class UiWebsocket { private long id; private Date createDate; diff --git a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java index fa1c2a4..3474380 100644 --- a/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java +++ b/src/test/java/com/loafle/overflow/module/noauthprobe/dao/NoAuthProbeDAOTest.java @@ -32,7 +32,7 @@ public class NoAuthProbeDAOTest { } - @Ignore +// @Ignore @Test public void saveNoauth() {