Spring Batch 2.2.0.RC1 Release Notes

Bug

  • [BATCH-1676] - Inconsistencies in XSD and documentation for Listeners within Step
  • [BATCH-1720] - Remote steps should not be consulted for isAllowedStartIfComplete() etc.
  • [BATCH-1788] - Update chapter 4.5.6 on aborting jobs in documentation
  • [BATCH-1847] - scope="step" inheritance from parent bean definitions causes odd effects
  • [BATCH-1856] - ExtendedConnectionDataSourceProxy compilation error in JDK 7
  • [BATCH-1908] - Inefficient storage of StepExecutionContexts when using partitioning
  • [BATCH-1924] - Restarting a stopped job in COMPLETED state prevents progress
  • [BATCH-1951] - StepScoped proxies not being created with proxyMode=TARGET_CLASS
  • [BATCH-1952] - Missing Import in spring-batch-infrastructure.jar
  • [BATCH-1757] - MinMaxPartitioner sets incorrect max value
  • [BATCH-1959] - Problem with FlatFileItemWriter restart using multi-byte encoding
  • [BATCH-1960] - drop table not consistent across supported dbs
  • [BATCH-1972] - StaxEventItemReader fails when restarted at end of file
  • [BATCH-1975] - StaxEventItemWriter namespace added to elements after restart

Improvement

  • [BATCH-1723] - Change JobParameters to use wrapper types for getLong and getDouble
  • [BATCH-1770] - Checking for UNKNOWN step status could be performed before the JobExecution is launched
  • [BATCH-1906] - add support to access an item's line number
  • [BATCH-1928] - Convert deprecated classes from the org.springframework.jdbc.core.simple package in samples
  • [BATCH-1955] - Remove requirement to inject ItemSqlParameterSourceProvider into JdbcBatchItemWriter
  • [BATCH-1957] - Add StaxEventItemWriter deleteIfEmpty property
  • [BATCH-1958] - Fix typo in samples apt index

New Feature

  • [BATCH-1412] - Allow a Job to accept JobParameters that do not contribute to its identity
  • [BATCH-1728] - Add support for Spring Data (readers and writers)
  • [BATCH-1934] - Update spring-batch docs for AmqpItemReader / Writers and use of SQLFire as a db option
  • [BATCH-1964] - Optional Transaction in JpaPagingItemReader

Task

Refactoring

  • [BATCH-1939] - Minor cleanups to AMQP sample
  • [BATCH-1947] - Replace org.easymock.classextension.EasyMock with org.easymock.EasyMock
  • [BATCH-1966] - Use abstract classes to inherit behaviors