Spring Batch 2.2.0.M1 Release Notes

Bug

  • [BATCH-1697] - TaskletStep not marked as FAILED when FlatFileItemWriter fails to append footer
  • [BATCH-1745] - XSD inconsistency: allow-start-if-complete is not allowed on non-tasklet step
  • [BATCH-1773] - Step-scoped annotation based listener is not called
  • [BATCH-1774] - NullPointerException on RepeateTemplate
  • [BATCH-1780] - Code exception is masked by a batch exception
  • [BATCH-1795] - ExponentialBackOffPolicy and BackOffContext
  • [BATCH-1799] - Exception in flush of file output ItemWriters does not abort a step/job
  • [BATCH-1884] - JobLauncherIntegrationTests failing
  • [BATCH-1890] - Fix broken JDK5 build after Spring 3.1.2
  • [BATCH-1903] - SQL compatibility breakage with HSQL
  • [BATCH-1916] - RecordSeparatorPolicy#isEndOfRecord wrong javadoc?
  • [BATCH-1920] - Add sample for new AMQPItemReader & Writer
  • [BATCH-1948] - StepScope doesn't work properly with proxyTargetClass=true in @Bean definitions
  • [BATCH-1950] - Fix bootstrap process

Improvement

  • [BATCH-1667] - StepExecutionListener ExitStatus not persisted and not accessible for other listeners
  • [BATCH-1691] - Allow to define groupBy for SqlPaginingQueryProviderFactoryBean
  • [BATCH-1718] - CompositeRetryPolicy by default is pessimistic
  • [BATCH-1854] - Create marker interface to be used by MultiResourceItemReader to inject the resource an item was read from.
  • [BATCH-1887] - Cleanup maven warnings
  • [BATCH-1889] - SqlFire support
  • [BATCH-1891] - Migrate usage of deprecated classes
  • [BATCH-1904] - Upgrade support of Hibernate to Hibernate 4
  • [BATCH-1928] - Convert deprecated classes from the org.springframework.jdbc.core.simple package in samples
  • [BATCH-1929] - Convert deprecated classes from the org.springframework.jdbc.core.simple package in core-tests
  • [BATCH-1931] - Convert deprecated classes from the org.springframework.jdbc.core.simple package in infrastructure-tests

New Feature

  • [BATCH-1666] - Add abort(long executionId) convenience method to JobOperator
  • [BATCH-1667] - StepExecutionListener ExitStatus not persisted and not accessible for other listeners
  • [BATCH-1684] - Allow serializer to be injected into JobRepository (ExecutionContextDao)
  • [BATCH-1685] - Upgrade minimum support level for Spring to 3.1.2
  • [BATCH-1694] - Add StepLocatorStepFactoryBean
  • [BATCH-1714] - Change ChunkListener interface and semantics to be called after rollback as well as commit
  • [BATCH-1749] - JdbcPagingItemReader query fails when specifying multiple columns in sortKey
  • [BATCH-1869] - Need a line tokenizer to parse the line based on string (multi character) delimiter than a single character delimiter
  • [BATCH-1882] - AMQP ItemReader and ItemWriter
  • [BATCH-1911] - Provide a Step registry to be able to locate a step by its name on (namely) remote nodes
  • [BATCH-1912] - Provide a base PartitionHandler so that other implementations can benefit from a shared base implementation
  • [BATCH-1918] - @Configuration support for batch (e.g. @EnableBatchProcessing)
  • [BATCH-1935] - Add quick start maven archetype

Task

Refactoring

  • [BATCH-1895] - Remove batch retry and depend on spring-retry.
  • [BATCH-1897] - Remove ant files from batch.
  • [BATCH-1915] - Change minimum compiler level to 1.6 and use @Override everywhere
  • [BATCH-1919] - Switch to using jdbc:/ namespace in samples
  • [BATCH-1940] - Replace org.springframework.batch.support.JdbcTestUtils with org.springframework.test.jdbc.JdbcTestUtils
  • [BATCH-1949] - Remove explicit checks for Spring 3 in StepScope