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.
*/
@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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

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