FUN_BC_INTERFACE_MAPPING
This table stores the interface mapping relationship with a blockchain method.
Details
-
Schema: FUSION
-
Object owner: FUN
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
FUN_BC_INTERFACE_MAPPING_PK |
INTERFACE_MAPPING_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| INTERFACE_MAPPING_ID | NUMBER | 18 | Yes | Identifier of the interface mapping. | |
| CHAINCODE_METHOD_NAME | VARCHAR2 | 200 | Yes | Name of the chaincode method and it should be the same with the method defined in chaincode. | |
| MAPPING_TEMPLATE | CLOB | Yes | The input template of the blockchain method. Freemarker template. | ||
| INTERFACE_ID | NUMBER | 18 | Yes | Unique interface identification number. | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| FUN_BC_INTERFACE_MAPPING | fun_bc_interfaces | INTERFACE_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| FUN_BC_INTERFACE_MAPPING_U1 | Unique | Default | INTERFACE_ID, CHAINCODE_METHOD_NAME |
| FUN_BC_INTERFACE_MAPPING_U2 | Unique | Default | INTERFACE_MAPPING_ID |