SVC_IOT_REG_METADATA_INT
This table is used as interface table (for import) to store metadata for registration requests from IOT cloud.
Details
-
Schema: FUSION
-
Object owner: FUSION
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
Name | Columns |
---|---|
SVC_IOT_REG_METADATA_INT_PK |
BATCH_ID, INTERFACE_ROW_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
METADATA_ID | NUMBER | 18 | Auto-generated number and primary key for this table. | |||
BATCH_ID | NUMBER | 18 | Yes | For each run of the job, import wizard generates a new batch id and this batch id will be used uniquely. | ||
INTERFACE_ROW_ID | NUMBER | 18 | Yes | Used to link this record with the error record. | ||
FILE_RECORD_NUM | NUMBER | 10 | This column is required by import wizard to relate record in the interface table to the file row. | |||
ERROR_MESSAGE | VARCHAR2 | 3000 | This is an optional column and would be useful if consumers want any error message as the first error. | |||
IMPORT_STATUS_CODE | VARCHAR2 | 1 | This column indicates import wizard if the import to base table was successful or Erorred out. | |||
FILE_NAME_SYSTASK_ID | NUMBER | 18 | This column is required for bulk import operations. | |||
ACTION_CODE | VARCHAR2 | 30 | Action code will be used to determine what operation should be done: insert,update,delete. | |||
INTERNAL_ACTION_CODE | VARCHAR2 | 30 | Internal action code will be populated internally by framework based on outcome of match step. | |||
INTERNAL_OVN | NUMBER | 9 | The Object Version Number of the record being updated. Used for Optimistic Locking as part of Incremental Update. | |||
JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | |||
JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. | |||
ORIGINAL_SYSTEM_REFERENCE | VARCHAR2 | 255 | Specifies the original system reference if record was imported. | |||
IOT_REG_REQ_OSR | VARCHAR2 | 255 | Specifies the original system reference if record was imported. it is used as a reference to parent record. | |||
CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | Active | |||
CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created the row. | Active | ||
LAST_UPDATE_DATE | TIMESTAMP | Who column: indicates the date and time of the last update of the row. | Active | |||
LAST_UPDATED_BY | VARCHAR2 | 64 | 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 | |
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | |||
REGISTRATION_REQ_ID | NUMBER | 18 | REGISTRATION_REQ_ID foreign key in this table. | |||
METADATA_KEY | VARCHAR2 | 32 | METADATA_KEY of the registered device. | |||
METADATA_VALUE | VARCHAR2 | 255 | METADATA_VALUE of the registered device. | |||
METADATA_DATA_TYPE | VARCHAR2 | 32 | METADATA_DATA_TYPE of the registered device. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
SVC_IOT_REG_METADATA_INT_N1 | Non Unique | Default | BATCH_ID, IMPORT_STATUS_CODE |
SVC_IOT_REG_METADATA_INT_N2 | Non Unique | Default | BATCH_ID, IOT_REG_REQ_OSR |
SVC_IOT_REG_METADATA_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |