The BATCH_STEP_EXECUTION_CONTEXT table holds all information
relevant to an Step's
ExecutionContext. There is exactly one
ExecutionContext per
StepExecution, and it contains all of the data that
needs to persisted for a particular step execution. This data typically
represents the state that must be retrieved after a failure so that a
JobInstance can 'start from where it left
off'.
CREATE TABLE BATCH_STEP_EXECUTION_CONTEXT ( STEP_EXECUTION_ID BIGINT PRIMARY KEY, SHORT_CONTEXT VARCHAR(2500) NOT NULL, SERIALIZED_CONTEXT CLOB, constraint STEP_EXEC_CTX_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 execution.
SHORT_CONTEXT: A string version of the SERIALIZED_CONTEXT.
SERIALIZED_CONTEXT: The entire context, serialized.