JobRunr Pro
Transaction plugin
Enjoy support for @Transactional out of the box in your preferred development framework
The JobRunr Spring Boot Starter and Micronaut integration come with an @Transactional
plugin that makes sure your jobs join the transaction created by the framework.
How does it work?
- the JobRunr Spring Boot Starter and Micronaut Integration check whether they can participate in a transaction created by that framework.
- if one is present, it is used and the whole method is transactional.
- if not, JobRunr creates it’s own transaction to make sure the job is saved to the database.
This of course only works for the SQL
StorageProvider
s.