removed
table name = TBL_
This commit is contained in:
parent
06bc172f2f
commit
9463e2805e
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -32,7 +32,7 @@ public class NoAuthProbeDAOTest {
|
|||
|
||||
}
|
||||
|
||||
@Ignore
|
||||
// @Ignore
|
||||
@Test
|
||||
public void saveNoauth() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user