spring batch migration from 4.x to 5.x facing unexpected issue while reading JobParameter from ChunkContext #4467
Replies: 1 comment
-
I noticed this question was asked on StackOverflow as well. I added an answer there: https://stackoverflow.com/a/77325624/5019386. Please do not duplicate questions on Github Discussions and StackOverflow to avoid duplicate efforts from the team. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have one DTO class as below:
here one example how we are building JobParamter
here is my tasklet
can you please help me as we are population more than 200 job parameters due this issue we unable to migrate can any one help? if any more input required i can provide
expectation is {"failOnNonZeroSkipCount":{"paramType":"boolean","paramValue":"false"}} instead of this {value={"failOnNonZeroSkipCount":{"paramType":"boolean","paramValue":"false"}}, type=class java.lang.String, identifying=true}
its happening with only two fields one the i have given example second is another DTO having having one field.
even i tried to do poc i unable to replicate even. But our project has huge code base i unable to identify this root case
Beta Was this translation helpful? Give feedback.
All reactions