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
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
The text was updated successfully, but these errors were encountered:
fmbenhassine
changed the title
Convenient transaction support in JobExplorerFactoryBean [BATCH-2295]
Add support to configure the transaction manager SimpleJobExplorer
Sep 21, 2022
fmbenhassine
changed the title
Add support to configure the transaction manager SimpleJobExplorer
Add support to configure the transaction manager in SimpleJobExplorer
Sep 21, 2022
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
The text was updated successfully, but these errors were encountered: