Skip to content

Commit

Permalink
Make BATCH_JOB_EXECUTION#JOB_CONFIGURATION_LOCATION nullable by defau…
Browse files Browse the repository at this point in the history
…lt for DB2

This commit adds DEFAULT to BATCH_JOB_EXECUTION#JOB_CONFIGURATION_LOCATION
for DB2. This fixes a SqlSyntaxErrorException with DB2 v9.

Credits to @omheni for the fix, see #4002.

Resolves #4001
  • Loading branch information
fmbenhassine committed Apr 14, 2022
1 parent 5288e91 commit 758372b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CREATE TABLE BATCH_JOB_EXECUTION (
EXIT_CODE VARCHAR(2500) ,
EXIT_MESSAGE VARCHAR(2500) ,
LAST_UPDATED TIMESTAMP,
JOB_CONFIGURATION_LOCATION VARCHAR(2500) NULL,
JOB_CONFIGURATION_LOCATION VARCHAR(2500) DEFAULT NULL,
constraint JOB_INST_EXEC_FK foreign key (JOB_INSTANCE_ID)
references BATCH_JOB_INSTANCE(JOB_INSTANCE_ID)
) ;
Expand Down

0 comments on commit 758372b

Please sign in to comment.