FUN_BC_TRX_HISTORIES
This table stores the execution histories of the transactions in blockchain network.The transactions contain querying data and writing transaction to ledger.
Details
-
Schema: FUSION
-
Object owner: FUN
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
| Name | Columns |
|---|---|
|
FUN_BC_TRX_HISTORIES_PK |
TRX_HISTORY_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| TRX_HISTORY_ID | NUMBER | 18 | Yes | Identifier of the tranaction history. | |
| EXECUTION_DATE | TIMESTAMP | Yes | Date when the interface execution. | ||
| APPLICATION_NAME | VARCHAR2 | 200 | Yes | The name of the application and it's source is application table. | |
| APPLICATION_CODE | VARCHAR2 | 30 | Yes | Code of the connection, such as InvoiceFactoring. | |
| APPLICATION_VERSION | VARCHAR2 | 20 | Yes | The version of the application. | |
| CONNECTION_NAME | VARCHAR2 | 200 | Yes | Connection name of the execution. | |
| CONNECTION_DETAIL | VARCHAR2 | 2000 | Connection attributes of the execution. | ||
| CHAINCODE_METHOD_NAME | VARCHAR2 | 200 | Yes | Chaincode method of thie execution. | |
| INTERFACE_NAME | VARCHAR2 | 200 | Yes | Interface name of this execution. | |
| INTERFACE_INPUT | VARCHAR2 | 2000 | Interface input of this execution. | ||
| INTERFACE_OUTPUT | VARCHAR2 | 4000 | Interface output of this execution. | ||
| EXECUTION_SUCCESS_FLAG | VARCHAR2 | 1 | Yes | Indicates whether the execution is successful. | |
| EXECUTION_ERROR_CODE | VARCHAR2 | 30 | If execution occurs error, store the error code. | ||
| EXECUTION_DETAIL | VARCHAR2 | 2000 | Log detail of the execution and may contains execution tracking info. | ||
| 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. |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| FUN_BC_TRX_HISTORIES_N1 | Non Unique | Default | EXECUTION_DATE |
| FUN_BC_TRX_HISTORIES_N2 | Non Unique | Default | APPLICATION_CODE, INTERFACE_NAME, EXECUTION_DATE |
| FUN_BC_TRX_HISTORIES_U1 | Unique | Default | TRX_HISTORY_ID |