diff --git a/docs/src/site/docbook/reference/schema-appendix.xml b/docs/src/site/docbook/reference/schema-appendix.xml index 24b8af072..56826ce37 100644 --- a/docs/src/site/docbook/reference/schema-appendix.xml +++ b/docs/src/site/docbook/reference/schema-appendix.xml @@ -1,5 +1,5 @@ - Meta-Data Schema @@ -156,7 +156,7 @@ INSERT INTO BATCH_JOB_SEQ values(0); JOB_INSTANCE_ID: Foreign Key from the BATCH_JOB_INSTANCE table that indicates the job instance the parameter entry belongs to. It should be noted that multiple rows (i.e key/value pairs) may exist for - each instance. + each instance. @@ -328,7 +328,7 @@ INSERT INTO BATCH_JOB_SEQ values(0); START_TIME: Timestamp representing the time the execution was - started. + started. @@ -376,7 +376,7 @@ INSERT INTO BATCH_JOB_SEQ values(0);
- BATCH_STEP_EXECUTION_CONTEXT + BATCH_EXECUTION_CONTEXT The BATCH_STEP_EXECUTION_CONTEXT table holds all information relevant to an ExecutionContext. There is exactly @@ -389,7 +389,8 @@ INSERT INTO BATCH_JOB_SEQ values(0); a column to determine the type: CREATE TABLE BATCH_STEP_EXECUTION_CONTEXT ( - STEP_EXECUTION_ID BIGINT NOT NULL , + EXECUTION_ID BIGINT NOT NULL , + DISCRIMINATOR VARCHAR2(1) NOT NULL, TYPE_CD VARCHAR(6) NOT NULL , KEY_NAME VARCHAR(1000) NOT NULL , STRING_VAL VARCHAR(1000) , @@ -397,18 +398,22 @@ INSERT INTO BATCH_JOB_SEQ values(0); LONG_VAL VARCHAR(10) , DOUBLE_VAL DOUBLE PRECISION , OBJECT_VAL BLOB, - constraint STEP_EXECUTION_CONTEXT_FK foreign key (STEP_EXECUTION_ID) - references BATCH_STEP_EXECUTION(STEP_EXECUTION_ID) ) ; Below are descriptions for each column: - STEP_EXECUTION_ID: Foreign key representing the - StepExecution to which the context belongs. - There may be more than one row associated to a given - StepExecution. + EXECUTION_ID: Foreign key representing the + StepExecution or + JobExecution to which the context belongs. + There may be more than one row associated to a given execution. + + + + DISCRIMINATOR: Character indicating whether or not the entry is + job or step scoped. (i.e. does it belong to the JobExecution or + StepExecution)