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:
dsyer
2007-12-16 17:59:35 +00:00
parent 3c34d95ff8
commit c117a44354
9 changed files with 164 additions and 251 deletions

View File

@@ -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" />

View File

@@ -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;
}