diff --git a/src/site/apt/migration/1.0-rc1-final.apt b/src/site/apt/migration/1.0-rc1-final.apt new file mode 100644 index 000000000..e1366e681 --- /dev/null +++ b/src/site/apt/migration/1.0-rc1-final.apt @@ -0,0 +1,26 @@ + ------ + Spring Batch Upgrade + ------ + Robert Kasanicky + ------ + March 2008 + +Updating Spring Batch jobs from 1.0.0.rc1 to 1.0.0.final framework + + Migrating from rc1 to final release does not require configuration changes. Following is a list of notable imporovements and/or changes in behavior. + + * SimpleStepFactoryBean defaults to commit interval = 1 + + * SkipLimitStepFactoryBean accepts a list of fatal exceptions (java.lang.Error by default) that cause immediate step failure, regardless of skippable settings. + + * skip and retry are no longer exclusive, StatefulRetryStepFactoryBean extends SkipLimitStepFactoryBean. + + * exception on read does not cause transaction rollback if the exception is skippable. + + * checked skippable exceptions are skipped correctly + + * FlatFileItemWriter buffers output and writes to file only on flush() i.e. at the end of chunk. + + * ExitStatusExceptionClassifier interface removed - SimpleExitStatusExceptionClassifier implements JobListener instead. + + * ExecutionContext is persisted for the first time before the processing of first chunk starts, so the scenario when job fails before first chunk is commited is no longer special. \ No newline at end of file