@@ -0,0 +1,1159 @@
+package org.springframework.batch.core;%0A%0Aimport org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer;%0A%0Aimport javax.annotation.Resource;%0Aimport java.util.Collections;%0A%0A/**%0A * In case of new instance for a job, this class provide the job parameters%0A * incrementer by using a database sequence.%0A *%0A * @see org.springframework.batch.core.JobParametersIncrementer%0A * @author Almex%0A */%0Apublic class JobParametersSequenceIncrementer implements JobParametersIncrementer %7B%0A%0A    /**%0A     * For legacy support we use the same name as the default one provided by%0A     * %7B@link org.springframework.batch.core.launch.support.RunIdIncrementer%7D%0A     */%0A    private static final String INCREMENTER_PARAMETER_NAME = %22run.id%22;%0A%0A    @Resource%0A    private DataFieldMaxValueIncrementer sequence;%0A%0A    /**%0A     * %7B@inheritDoc%7D%0A     */%0A    public JobParameters getNext(final JobParameters parameters) %7B%0A        return new JobParameters(Collections.singletonMap(INCREMENTER_PARAMETER_NAME, new JobParameter(sequence.nextLongValue())));%0A    %7D%0A%0A    public void setSequence(final DataFieldMaxValueIncrementer sequence) %7B%0A        this.sequence = sequence;%0A    %7D%0A%0A%7D%0A%0A

Create JobParametersSequenceIncrementer.java