Hi,
I have a integration test using JobLauncherTestUtils to launch a job. However, each time I evaluate the Id of jobExecution, it returns 0:
My job interally captures the job execution id for logging purposes, but the simple snippet always returns 0 and I don't understand why.Code:JobExecution jobExecution = jobLauncherTestUtils.launchJob(params); System.err.println(jobExecution.getId()); // 0?!
Thanks,
Alejandro


Reply With Quote