Description
Tomasz Blachowicz opened BATCH-1581 and commented
Currently there is support only for the limited number of types of JobParameter. It is required that other primitive types such as Integer or Boolean are supported as well.
This would particularly useful when dealing with readers such as HibernateCursorItemReader. The reader can gives ability to provide the parameters to be bound to the query (prepared statement parameters). However there is no straightforward way to provide the Integer of Boolean values for parameters that causes the reader to fail with ClassCastException. This is because the Spring injection mechanism doesn't have a chance to convert the values as it would do for regular properties.
It would be also useful to have implementation of enum JobParameters.
No further details from BATCH-1581