Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convenient transaction support in JobExplorerFactoryBean [BATCH-2295] #1307

Open
spring-issuemaster opened this issue Aug 14, 2014 · 0 comments
Open

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Aug 14, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.