Skip to content

Add support to configure the transaction manager in SimpleJobExplorer #1307

Closed
@spring-projects-issues

Description

@spring-projects-issues

Erwin Vervaet opened BATCH-2295 and commented

The JobRepositoryFactoryBean will automatically wrap a transactional proxy around the created JobRepository instance to enforce its specialized transactional requirements (i.e. REQUIRES_NEW for create methods, ...).

It would be convenient to have a similar feature in the JobExplorerFactoryBean: it also needs a transaction to access the job data in a database. In this case it would be optional since the JobExplorer is read-only and has no special transactional requirements like the JobRepository, or might be used inside an existing transactional scope.


Affects: 2.2.7, 3.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions