-
Apr 13th, 2012, 02:26 PM
#1
Is there a way to get list of executions for the job?
Hi All,
I have a use case, when I need to restrict having more than 1 execution of the job, taking into consideration job parameters.
I tried to implement that functionality in the JobExecutionListener, where I could get the list of all parameters and do the appropriate checks, however the JobExecution doesn't contain any information about other Executions of the same job.
So I was wondering, is there a trick that I can use for doing that using Spring Batch (all of the information is contained in the spring batch database, I just need a access layer for it)?
P.S: Version that I use is: 2.1.7.RELEASE
Sincerely,
David
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules