IN PROGRESS - BATCH-518: clean up the *Or* repository methods

consistent naming of update methods
This commit is contained in:
robokaso
2008-07-28 11:24:19 +00:00
parent 1b4babb4cd
commit 035fe28113
8 changed files with 16 additions and 16 deletions

View File

@@ -165,7 +165,7 @@ public class JdbcJobRepositoryTests {
JobExecution execution = repository.createJobExecution(jobConfiguration, new JobParameters());
cacheJobIds(execution);
execution.setEndTime(new Timestamp(System.currentTimeMillis()));
repository.updateJobExecution(execution);
repository.update(execution);
execution.setStatus(BatchStatus.FAILED);
int before = jdbcTemplate.queryForInt("SELECT COUNT(*) FROM BATCH_JOB_INSTANCE");