Skip to content

Commit 1e8bab8

Browse files
committed
Remove unnecessary transactionManager
1 parent a799446 commit 1e8bab8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/SimpleStepBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ protected SimpleStepBuilder(SimpleStepBuilder<I, O> parent) {
114114
this.itemListeners = parent.itemListeners;
115115
this.readerTransactionalQueue = parent.readerTransactionalQueue;
116116
this.meterRegistry = parent.meterRegistry;
117+
this.transactionManager(parent.getTransactionManager());
117118
}
118119

119120
public FaultTolerantStepBuilder<I, O> faultTolerant() {

0 commit comments

Comments
 (0)