Spring Batch 5.0.0-M7 available now!
On behalf of the team and all contributors, I am pleased to announce that Spring Batch
5.0.0-M7 is now available from our milestone repository.
The main theme of this milestone is the improvement of job parameters handling in Spring Batch. Two main changes were introduced in this release:
- Add support to use any type as a job parameter
- Improve job parameters conversion
This blog post walks through these two major changes in details. For the complete list of changes, please check the release notes.
Add support to use any type as a job parameter
Up to version 4, Spring Batch supported only 4 types that can be used as job parameters, which are
Date. While this was convenient to simplify job parameters handling on the framework's side, it turns out to be constraining on the user's side. For instance, what if one wants to use a