Skip to content

New JobParameter Types Required [BATCH-1581] #1983

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: corestatus: declinedFeatures that we don't intend to implement or Bug reports that are invalid or missing enough detailstype: enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions