JobExecution « Job « Spring Q&A





1. How do I get ref to JobExecution in ItemWriteListener's afterWrite method?    forum.springsource.org

The signature of org.springframework.batch.core.ItemWriteListener's afterWrite method only takes List, where T is your item type. Inside my implementation of this method, I need to get a reference to the current JobExecution. ...

2. JobExecution design question    forum.springsource.org

Hi all, In the org.springframework.batch.core.domain.JobExecution class, there's an accessor for the JobInstance attribute: getJob(). And there's a method called getJobIdentifier() that returns job.getIdentifier(). One could get this information by calling getJob().getIdentifier() ...

3. Problems with JobExecution.isRunning ()    forum.springsource.org

Problems with JobExecution.isRunning () Since 1.0.0.m4, a new test have been added when re-executing a failed batch. The new test lies in org.springframework.batch.core.domain.JobExecution class. When you re-start a failed batch, it ...

4. Is JobExecution serializable?    forum.springsource.org

Is JobExecution serializable? The short query is as titled. The background is as follow. We are exploring to launch a job remotely (or inside container). The strategy we are thinking is ...

5. extra information in JobExecution table    forum.springsource.org

Hi everybody, I wondered if it's possible to store extra values (extra columns) in the JobExecution table. This extra column could contain the name of the server on which the job ...

6. [Quartz] JobExecution must already be saved    forum.springsource.org

[Quartz] JobExecution must already be saved Hi, I encounter a problem using Quartz and Spring batch. 3 different recurring jobs are running at the same time (with SimpleAsyncTaskExecutor). I'm using the ...

7. Invalid JobExecution, ID 0 not found.    forum.springsource.org

Invalid JobExecution, ID 0 not found. Im new to Spring and Im trying to get my jobRepository working so it actually writes to my Oracle database tables. I get the same ...

8. JobExecution must already be saved    forum.springsource.org

Oct 7th, 2009, 07:51 AM #1 wakamate View Profile View Forum Posts Private Message Junior Member Join Date Mar 2009 Posts 2 JobExecution must already be saved Hi there, i am ...

9. Any way to refer to jobExecution.startTime by el?    forum.springsource.org

Is there any way to access the jobExecution bean's startTime property by spring el and step-scope/late-binding? Something like: ...





10. JobExecution must already be saved    forum.springsource.org

private boolean runJob(String jobName) { try { Job job = getJobRegistry().getJob(jobName); getJobLauncher().run(job, new JobParameters()); return true; } catch (Exception e) { e.printStackTrace(); } return false; }

11. Accessing JobExecution in Validator    forum.springsource.org

Accessing JobExecution in Validator Hi Guys, Is it possible to get the current executing instance of the JobExecution from a validator (i.e. Validator extends DefaultJobParametersValidator)? If so, can you guys help ...