RESOLVED - issue BATCH-680: Allow override of Transaction Definition in get transaction in Item Oriented Step
Added transactionAttribute to ItemOrientedStep and the factory bean
This commit is contained in:
@@ -2,7 +2,6 @@ package org.springframework.batch.core.step;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
@@ -102,10 +101,10 @@ public class AbstractStepTests extends TestCase {
|
||||
*/
|
||||
private static class JobRepositoryStub extends JobRepositorySupport {
|
||||
|
||||
Properties saved = new Properties();
|
||||
ExecutionContext saved = new ExecutionContext();
|
||||
|
||||
public void saveOrUpdateExecutionContext(StepExecution stepExecution) {
|
||||
saved = stepExecution.getExecutionContext().getProperties();
|
||||
saved = stepExecution.getExecutionContext();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user