QP_ALGORITHM_VERSIONS

Set Transformation Services table that defines the versions of the algorithms.

Details

  • Schema: FUSION

  • Object owner: QP

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

QP_ALGORITHM_VERSIONS_PK

VERSION_ID

Columns

Name Datatype Length Precision Not-null Comments
VERSION_ID NUMBER 18 Yes Unique identifier of this table QP_ALGORITHM_VERSIONS
VERSION_NUM NUMBER 9 Yes Version number, start from 1. It will increases with incremental 1 once revised.
ALGM_ID NUMBER 18 Yes Foreign key to the QP_ALGORITHMS table
ACTIVE_FLAG VARCHAR2 1 Yes indicates if the version is active or not
CONFLICT_ID NUMBER 18 Yes Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server).
START_DATE TIMESTAMP Yes Indicates the date at the beginning of the date range within which the version row is effective.
END_DATE TIMESTAMP Indicates the date at the end of the date range within which the version row is effective.
PACKAGE_TYPE VARCHAR2 240 Package name (or Type) of the algorithm version
SANDBOX_NAME VARCHAR2 500 Sandbox within which this version will be created
COMMENTS VARCHAR2 500 Detailed comments for the version
BYTE_CODE BLOB Algorithm version byte code
SCRIPT_CODE CLOB Groovy script code representing the Algorithm version metadata
USER_LAST_UPDATE_DATE TIMESTAMP Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server).
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.
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.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
QP_ALGORITHM_VERSIONS qp_algorithms ALGM_ID
qp_algorithm_functions qp_algorithm_versions VERSION_ID
qp_algorithm_testcases qp_algorithm_versions ALGORITHM_VERSION_ID
qp_algorithm_steps qp_algorithm_versions VERSION_ID
qp_algorithm_variables qp_algorithm_versions VERSION_ID

Indexes

Index Uniqueness Tablespace Columns
QP_ALGORITHM_VERSIONS_PK Unique Default VERSION_ID, ORA_SEED_SET1
QP_ALGORITHM_VERSIONS_PK1 Unique Default VERSION_ID, ORA_SEED_SET2
QP_ALGORITHM_VERSIONS_U1 Unique Default ALGM_ID, VERSION_NUM, CONFLICT_ID, SANDBOX_NAME, ORA_SEED_SET1
QP_ALGORITHM_VERSIONS_U11 Unique Default ALGM_ID, VERSION_NUM, CONFLICT_ID, SANDBOX_NAME, ORA_SEED_SET2