I am trying to launch a job from inside a step (the execute method of a class implementing the interface Tasklet).
Obviously i received the exception
java.lang.IllegalStateException: Existing transaction detected in JobRepository
How to make a spring batch step not transactional?
Does anyone have a solution to my main need of launching a job from inside a step?
Thanks in advance for the help!