The BATCH_JOB_INSTANCE table holds all information relevant to a
JobInstance, and serves as the top of the overall
hierarchy. The following generic DDL statement is used to create
it:
CREATE TABLE BATCH_JOB_INSTANCE ( JOB_INSTANCE_ID BIGINT PRIMARY KEY , VERSION BIGINT, JOB_NAME VARCHAR(100) NOT NULL , JOB_KEY VARCHAR(2500) );
Below are descriptions of each column in the table:
JOB_INSTANCE_ID: The unique id that will identify the instance,
which is also the primary key. The value of this column should be
obtainable by calling the getId method on
JobInstance.
VERSION: See above section.
JOB_NAME: Name of the job obtained from the
Job object. Because it is required to identify
the instance, it must not be null.
JOB_KEY: A serialization of the
JobParameters that uniquely identifies separate
instances of the same job from one another.
(JobInstances with the same job name must have
different JobParameters, and thus, different
JOB_KEY values).