OPEN - issue BATCH-87: Recoverable is a nasty abstraction - encourages stateful Tasklets.
http://opensource.atlassian.com/projects/spring/browse/BATCH-87 Tidied up test cases and removed DefaultStepExecutor (Simple* does everything).
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="stepExecutor"
|
||||
class="org.springframework.batch.execution.step.simple.DefaultStepExecutor"
|
||||
class="org.springframework.batch.execution.step.simple.SimpleStepExecutor"
|
||||
scope="prototype">
|
||||
<property name="transactionManager" ref="transactionManager" />
|
||||
<property name="repository" ref="simpleJobRepository" />
|
||||
|
||||
@@ -60,7 +60,7 @@ public class HibernateFailureJobFunctionalTests extends
|
||||
throw e;
|
||||
} catch (UncategorizedSQLException e) {
|
||||
// This is what would happen if the job wasn't configured to skip
|
||||
// exceptions at teh step level.
|
||||
// exceptions at the step level.
|
||||
assertEquals(1, writer.getErrors().size());
|
||||
throw e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user