Skip to content

Conversation

hpoettker
Copy link
Contributor

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.

@fmbenhassine fmbenhassine added pr-for: bug in: core for: backport-to-4.3.x Issues that will be back-ported to the 4.3.x line labels Jul 20, 2022
@fmbenhassine fmbenhassine added this to the 5.0.0-M5 milestone Jul 20, 2022
@fmbenhassine
Copy link
Contributor

LGTM. Rebased and merged as 6bbd9d8. Thank you for your contribution!

@hpoettker hpoettker deleted the non-null-columns branch August 24, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: backport-to-4.3.x Issues that will be back-ported to the 4.3.x line in: core pr-for: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants