Help needed: Spring batch + scheduled task = no transaction

twitter logo ・1 min read

I have a simple spring boot application with a scheduled task. The scheduled task starts a spring batch job.

The scheduled task starts normally and the batch job works fine but nothing Is saved to the database.

You can find all the details in this SO question


Hope anyone can help.


I have updated the question at SO with the answer that worked for me.

twitter logo DISCUSS
Classic DEV Post from Aug 1 '19

Which dev.to loading GIF do you prefer?

I made some dev.to loading gifs

FaN000s profile image
Java addicted developer