SVC_IOT_REG_METADATA

This table is used to store metadata for registration requests from IOT cloud. METADATA_ID is primary key and REGISTRATION_REQ_ID is foreign key in this table which is linked to REGISTRATION_REQ_ID to SVC_IOT_REG_REQS.

Details

  • Schema: FUSION

  • Object owner: FUSION

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_IOT_REG_METADATA_PK

METADATA_ID

Columns

Name Datatype Length Precision Not-null Comments Status
METADATA_ID NUMBER Yes Auto-generated number and primary key for this table.
ORIGINAL_SYSTEM_REFERENCE VARCHAR2 255 Specifies the original system reference if record was imported.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row. Active
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row. Active
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row. Active
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row. Active
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row. Active
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. Active
REGISTRATION_REQ_ID NUMBER Yes REGISTRATION_REQ_ID foreign key in this table.
METADATA_KEY VARCHAR2 32 Yes METADATA_KEY of the registered device.
METADATA_VALUE VARCHAR2 255 Yes METADATA_VALUE of the registered device.
METADATA_DATA_TYPE VARCHAR2 32 METADATA_DATA_TYPE of the registered device.

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_IOT_REG_METADATA svc_iot_reg_reqs REGISTRATION_REQ_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_IOT_REG_METADATA_F1 Non Unique Default REGISTRATION_REQ_ID
SVC_IOT_REG_METADATA_PK Unique Default METADATA_ID
SVC_IOT_REG_METADATA_U1 Unique Default ORIGINAL_SYSTEM_REFERENCE
SVC_IOT_REG_METADATA_U2 Unique Default LAST_UPDATE_DATE, METADATA_ID