New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best to distinguish CreateTime and StartTime in StepExecution #4049
Comments
This requires following changes at least:
|
Please refer to PR #4057 |
fmbenhassine
pushed a commit
to fmbenhassine/spring-batch
that referenced
this issue
May 9, 2022
- Add field createTime for StepExecution. - Add column create_time for batch_step_execution and make start_time default null. - Make getLastStepExecution order by createTime instead of startTime. - Add migration scripts for 5.0 Resolves spring-projects#4049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to record create time of StepExecution, but I found it only has a filed
startTime
, though this field has been assigned value when StepExecution is created.But its value will be updated when StepExecution gets started in AbstractStep.
So, maybe an individual
createTime
field is more suitable, just like what it is in JobExecution.The text was updated successfully, but these errors were encountered: