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
The transaction manager is an implementation detail of the job repository. In fact, it is only used to create a transactional proxy around SimpleJobRepository and is not used in the configuration of the JobLauncher and the JobExplorer. The transaction manager is defined here at an incorrect abstraction level.
The method BatchConfigurer#getTransactionManager should be removed. The transaction manager should be configurable at the AbstractJobRepositoryFactoryBean level.
The text was updated successfully, but these errors were encountered:
As of v4, the
BatchConfigurer
interface is defined as follows:The transaction manager is an implementation detail of the job repository. In fact, it is only used to create a transactional proxy around
SimpleJobRepository
and is not used in the configuration of theJobLauncher
and theJobExplorer
. The transaction manager is defined here at an incorrect abstraction level.The method
BatchConfigurer#getTransactionManager
should be removed. The transaction manager should be configurable at theAbstractJobRepositoryFactoryBean
level.The text was updated successfully, but these errors were encountered: