Skip to content

Simplify the ability to configure a custom TransactionManager with java config [BATCH-2705] #903

@spring-projects-issues

Description

@spring-projects-issues

Michael Minella opened BATCH-2705 and commented

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.


Affects: 4.0.1

Referenced from: pull request #415

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions