You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lost transactionAttribute when using chaining StepBuilderΒ #3686
it seems to broken compatibility between SimpleStepBuilder and FaultTolerantStepBuilder (and both classes extends AbstractTaskletStepBuilder what have transactionAttribute property.)
there transactionAttributes will be missing on method calls. (there methods does not support copying "transactionAttribute")
Activity
acktsap commentedon Sep 29, 2021
I can't reproduce it by a syntax error.
It looks because the transactionAttribute returns AbstractTaskletStepBuilder, not SimpleStepBuilder.
spring-batch/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/AbstractTaskletStepBuilder.java
Lines 239 to 242 in 327160a
It works when transactionAttribute is after the faultTolerant.
acktsap commentedon Sep 30, 2021
But if #3989 is merged, it should be fixed.
fmbenhassine commentedon Jul 19, 2022
Resolved with #3989 .