spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Fix non-nullable columns in MySQL migration for Spring Batch 4.3

Open hpoettker opened this issue 3 years ago • 0 comments
trafficstars

The database migration for MySQL to Spring Batch 4.3 currently misses NOT NULL constraints from BATCH_JOB_EXECUTION.CREATE_TIME and BATCH_STEP_EXECUTION.START_TIME.

If the current migration is applied to a Spring Batch database < 4.3, it effectively removes the existing NOT NULL constraints although they are still contained in schema-mysql.sql.

hpoettker avatar Jul 04 '22 14:07 hpoettker