Spring Batch 2.1.2 Release Notes

Bug

  • [BATCH-1543] - OrderedComposite cannot register two items with the same order
  • [BATCH-1558] - Error in Programmatic Flow Decisions documentation
  • [BATCH-1564] - incorrect apachemq artifactId
  • [BATCH-1566] - ExecutionContext.isDirty() is not very accurate
  • [BATCH-1567] - When step encounters error saving ExecutionContext it tries to stop the job but fails
  • [BATCH-1571] - PostgresPagingQueryProvider generateJumpToItemQuery generates bad SQL
  • [BATCH-1573] - End transition states will cause the batch job to finish with an Unknown status if the namespace prefix is used.
  • [BATCH-1574] - TaskExecutor configuration ignored in 2.1 namespace for tasklet/ with no chunk/
  • [BATCH-1587] - DefaultFieldSetFactory is not setting the numberFormat in the enhance() call
  • [BATCH-1588] - Job Excecution Listener - XML Namespace parsing fails for methods named different to "beforeJob", "afterJob"
  • [BATCH-1590] - OraclePagingQueryProvider.generateJumpToItemQuery generates an incorrect query
  • [BATCH-1591] - Documentation: StepListener is a marker interface so it cannot be applied directly to a step
  • [BATCH-1594] - StepListenerSupport implements method onErrorInStep which is not declared in any of the implemented interfaces

Defect

  • [BATCH-1569] - MultiResourceItemReader.getCurrentResource cause java.lang.ArrayIndexOutOfBoundsException when .read() was not called
  • [BATCH-1582] - DefaultStepExecutionAggregator can simply ignore null or empty input

Improvement

  • [BATCH-1568] - Implement SkipListener in StepListenerSupport
  • [BATCH-1575] - Parallel job test case missing in 2.1
  • [BATCH-1578] - Mismatch between JavaDoc and enum elements in BatchStatus
  • [BATCH-1589] - Have RunIDIncrementer reuse given parameters
  • [BATCH-1593] - XML configuration: p-namespace does not work on inline tasklet bean element