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
Currently if you want to customize only the TransactionManager provided via the BatchConfigurer, you need to re-implement the entire BatchConfigurer instead of just overriding something in the DefaultBatchConfigurer. The example use case here is to configure a HibernateTransactionManager. Everything else in the DefaultBatchConfigurer applies, but since we refer directly to the private class level variables, there isn't a way to override what TransactionManager is used across components.
Michael Minella opened BATCH-2705 and commented
Currently if you want to customize only the
TransactionManager
provided via theBatchConfigurer
, you need to re-implement the entireBatchConfigurer
instead of just overriding something in theDefaultBatchConfigurer
. The example use case here is to configure aHibernateTransactionManager
. Everything else in theDefaultBatchConfigurer
applies, but since we refer directly to the private class level variables, there isn't a way to override whatTransactionManager
is used across components.Affects: 4.0.1
Referenced from: pull request #415
The text was updated successfully, but these errors were encountered: