Hi,
I have scheduled a job running a service that is parsing huge XML files.
I am setting bigger timeouts not to make jobs overlap because they are accessing the DB and giving me a DB Exception of type
OptimisticLockingFailureException
The question is: is it possible to pause the second job until the first has finished? Is it the right approach?
Thanks