Elaborate usage of PlatformTransactionManager #4787
Labels
for: backport-to-5.2.x
Issues that will be back-ported to the 5.2.x line
in: documentation
type: enhancement
Milestone
There are many places to configure
transactionManager
, it's unclear whether it's mandatory or not, from my understanding, it's should be optional sincedataSource
is mandatory, Spring Batch could createDataSourceTransactionManager()
as default, correct me if I'm wrong.And it's unclear whether it's used for batch metadata operations or JDBC reader/writer of step, if Spring Boot's
@BatchDataSource
and@BatchTransactionManager
are used for separated DataSource, whichtransactionManager
should be used forStepBuilder::chunk
?spring-batch/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/StepBuilder.java
Line 118 in e1b0f15
The text was updated successfully, but these errors were encountered: