You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description
Documentation is incomplete: Spring Batch 5.0 Migration Guide
§Database schema updates > All platforms
It misses the migration step of renaming a column (or what I did for backward compatibility, add a new column). The doc should states something like:
Column change in BATCH_STEP_EXECUTION
The column START_TIME was renamed in CREATE_TIME. Rename it according to your database server, something like:
ALTER TABLE BATCH_STEP_EXECUTION RENAME COLUMN START_TIME TO CREATE_TIME;
Environment
Spring Batch 5.0.1, Java 17, database Postgres 14, Spring Boot 3.0.4.
Please provide as many details as possible: Spring Batch version, Java version, which database you use if any, etc
fmbenhassine
changed the title
doc migration v5: missing renaming to CREATE_TIME
Missing DDL migration script related to BATCH_STEP_EXECUTION table in v5 migration guide
Apr 25, 2023
Bug description
Documentation is incomplete: Spring Batch 5.0 Migration Guide
§Database schema updates > All platforms
It misses the migration step of renaming a column (or what I did for backward compatibility, add a new column). The doc should states something like:
Column change in BATCH_STEP_EXECUTION
The column START_TIME was renamed in CREATE_TIME. Rename it according to your database server, something like:
ALTER TABLE BATCH_STEP_EXECUTION RENAME COLUMN START_TIME TO CREATE_TIME;
Environment
Spring Batch 5.0.1, Java 17, database Postgres 14, Spring Boot 3.0.4.
Please provide as many details as possible: Spring Batch version, Java version, which database you use if any, etc
Steps to reproduce
see https://github.com/spring-projects/spring-batch/wiki/Spring-Batch-5.0-Migration-Guide#all-platforms
Expected behavior
Running a batch should works after migrating an existing batch to latest Spring Batch.
Minimal Complete Reproducible example
The text was updated successfully, but these errors were encountered: