Skip to content

Add JobParametersIncrementer implementation based on a DataFieldMaxValueIncrementer #1521

Closed
@spring-projects-issues

Description

@spring-projects-issues

Gregory D. Hopkins opened BATCH-2074 and commented

Due to problems listed in the linked StackOverflow Q, I created an implementation of org.springframework.batch.core.JobParametersIncrementer based on Spring JDBC's org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer.

It looks like org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer is used several places in the Spring Batch project, but I could not find any that provided linkage to org.springframework.batch.core.JobParametersIncrementer.

Hopefully, others will find this useful.


Reference URL: http://stackoverflow.com/questions/17975917/spring-batch-runidincrementer-not-generating-next-value

Attachments:

1 votes, 4 watchers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions