Skip to content

Commit

Permalink
PAYARA-1077 JBatch table creation fails on MySQL (payara#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
jGauravGupta authored and lprimak committed Jul 5, 2017
1 parent 5f7c83b commit ddca40c
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ protected Map<String, String> setCreateMySQLStringsMap (IBatchConfig batchConfig
+ "("
+ "jobexecid BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT,"
+ "jobinstanceid BIGINT,"
+ "createtime TIMESTAMP,"
+ "starttime TIMESTAMP,"
+ "endtime TIMESTAMP,"
+ "updatetime TIMESTAMP,"
+ "createtime TIMESTAMP NULL,"
+ "starttime TIMESTAMP NULL,"
+ "endtime TIMESTAMP NULL,"
+ "updatetime TIMESTAMP NULL,"
+ "parameters BLOB,"
+ "batchstatus VARCHAR(512),"
+ "exitstatus VARCHAR(512),"
Expand All @@ -298,8 +298,8 @@ protected Map<String, String> setCreateMySQLStringsMap (IBatchConfig batchConfig
+ "processskipcount INT,"
+ "filtercount INT,"
+ "writeskipcount INT,"
+ "startTime TIMESTAMP,"
+ "endTime TIMESTAMP,"
+ "startTime TIMESTAMP NULL,"
+ "endTime TIMESTAMP NULL,"
+ "persistentData BLOB,"
+ "CONSTRAINT JOBEXEC_STEPEXEC_FK FOREIGN KEY (jobexecid) REFERENCES "
+ tableNames.get(EXECUTION_INSTANCE_TABLE_KEY)
Expand Down

0 comments on commit ddca40c

Please sign in to comment.