spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Convenient transaction support in JobExplorerFactoryBean [BATCH-2295]

Open spring-projects-issues opened this issue 11 years ago • 0 comments

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

spring-projects-issues avatar Aug 14 '14 11:08 spring-projects-issues