Step with JdbcCursorItemReader doesn't run at the second round in Spring Batch 6 #5163
owox27
started this conversation in
Migration Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
After migration to Spring Batch 6.0, my reader doesn't work correctly.
Everything is fine at the first running, but skip the step at the second round,
and all would be fine again at the first running after the project restart.
Works fine version: spring-boot-starter-parent 3.5.8 + spring-boot-starter-batch
Goes wrong version: spring-boot-starter-parent 4.0.0 + spring-boot-starter-batch-jdbc
Job config
Run config
JobParametersBuilder builder = new JobParametersBuilder().addLong("time", System.currentTimeMillis());Debug log (first round)
Debug log (second round)
Thank you for your help !
Beta Was this translation helpful? Give feedback.
All reactions