Program: 28216
Project: 28216
Buggy source:
private void checkOracleTables() throws SQLException {
  logger.entering(CLASSNAME,"String_Node_Str");
  createOracleTableNotExists(tableNames.get(CHECKPOINT_TABLE_KEY),createTableStrings.get(CREATE_TABLE_CHECKPOINTDATA));
  if (!checkOracleIndexExists(CREATE_CHECKPOINTDATA_INDEX_KEY)) {
    executeStatement(createIndexStrings.get(CREATE_CHECKPOINTDATA_INDEX));
  }
  createOracleTableNotExists(tableNames.get(JOB_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_JOBINSTANCEDATA));
  createOracleSequenceNotExists(JOBINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_JOBINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(JOBINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_JOBINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(EXECUTION_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_EXECUTIONINSTANCEDATA));
  createOracleSequenceNotExists(EXECUTIONINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_EXECUTIONINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(EXECUTIONINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_EXECUTIONINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(STEP_EXECUTION_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_STEPINSTANCEDATA));
  createOracleSequenceNotExists(STEPINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_STEPINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(STEPINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_STEPINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(JOB_STATUS_TABLE_KEY),createTableStrings.get(CREATE_TABLE_JOBSTATUS));
  createOracleTableNotExists(tableNames.get(STEP_STATUS_TABLE_KEY),createTableStrings.get(CREATE_TABLE_STEPSTATUS));
  logger.exiting(CLASSNAME,"String_Node_Str");
}

Fixed version (ground truth):
private void checkOracleTables() throws SQLException {
  createTableStrings=setCreateTableMap(batchConfig);
  createIndexStrings=setCreateIndexMap(batchConfig);
  logger.entering(CLASSNAME,"String_Node_Str");
  createOracleTableNotExists(tableNames.get(CHECKPOINT_TABLE_KEY),createTableStrings.get(CREATE_TABLE_CHECKPOINTDATA));
  if (!checkOracleIndexExists(CREATE_CHECKPOINTDATA_INDEX_KEY)) {
    executeStatement(createIndexStrings.get(CREATE_CHECKPOINTDATA_INDEX));
  }
  createOracleTableNotExists(tableNames.get(JOB_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_JOBINSTANCEDATA));
  createOracleSequenceNotExists(JOBINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_JOBINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(JOBINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_JOBINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(EXECUTION_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_EXECUTIONINSTANCEDATA));
  createOracleSequenceNotExists(EXECUTIONINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_EXECUTIONINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(EXECUTIONINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_EXECUTIONINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(STEP_EXECUTION_INSTANCE_TABLE_KEY),createTableStrings.get(CREATE_TABLE_STEPINSTANCEDATA));
  createOracleSequenceNotExists(STEPINSTANCEDATA_SEQ_KEY,createTableStrings.get(CREATE_STEPINSTANCEDATA_SEQ));
  createOracleTriggerNotExists(STEPINSTANCEDATA_TRG_KEY,createTableStrings.get(CREATE_STEPINSTANCEDATA_TRG));
  createOracleTableNotExists(tableNames.get(JOB_STATUS_TABLE_KEY),createTableStrings.get(CREATE_TABLE_JOBSTATUS));
  createOracleTableNotExists(tableNames.get(STEP_STATUS_TABLE_KEY),createTableStrings.get(CREATE_TABLE_STEPSTATUS));
  logger.exiting(CLASSNAME,"String_Node_Str");
}