I have configured SchduledFactoryBean by using the JDBCStore. The jobs got persisted to the database and getting executed successfully.
My question is what will happen if there is a runtime exception occurs during the job execution ? ( lets say a null pointer exception or outofmemory exception etc).
I can see the jobs got removed from the database and the job execution was unsuccessful.
I want to job to be executed 100%. If there is an exception during the job execution i don't want this job to get removed from the database but want to notify the job execution failure.