fix for 1.4 build

This commit is contained in:
robokaso
2008-05-02 10:05:58 +00:00
parent 642375e4e7
commit 43b9240241
3 changed files with 17 additions and 18 deletions

View File

@@ -363,12 +363,12 @@ public class StepExecution extends Entity {
return jobExecution.getJobInstance().getJobParameters();
}
public int getReadSkipCount() {
return readSkipCount;
public Integer getReadSkipCount() {
return new Integer(readSkipCount);
}
public int getWriteSkipCount() {
return writeSkipCount;
public Integer getWriteSkipCount() {
return new Integer(writeSkipCount);
}
public void setReadSkipCount(int readSkipCount) {

View File

@@ -186,8 +186,7 @@ public class JdbcStepExecutionDao extends AbstractJdbcBatchMetadataDao implement
stepExecution.getEndTime(), stepExecution.getStatus().toString(), stepExecution.getCommitCount(),
stepExecution.getItemCount(), stepExecution.getExitStatus().isContinuable() ? "Y" : "N",
stepExecution.getExitStatus().getExitCode(), stepExecution.getExitStatus().getExitDescription(),
Integer.valueOf(stepExecution.getReadSkipCount()), Integer.valueOf(stepExecution.getWriteSkipCount()),
stepExecution.getRollbackCount() };
stepExecution.getReadSkipCount(), stepExecution.getWriteSkipCount(), stepExecution.getRollbackCount() };
getJdbcTemplate().update(
getQuery(SAVE_STEP_EXECUTION),
parameters,
@@ -322,8 +321,8 @@ public class JdbcStepExecutionDao extends AbstractJdbcBatchMetadataDao implement
stepExecution.getStatus().toString(), stepExecution.getCommitCount(), stepExecution.getItemCount(),
stepExecution.getExitStatus().isContinuable() ? "Y" : "N",
stepExecution.getExitStatus().getExitCode(), exitDescription, version,
Integer.valueOf(stepExecution.getReadSkipCount()),
Integer.valueOf(stepExecution.getWriteSkipCount()), stepExecution.getRollbackCount(),
stepExecution.getReadSkipCount(),
stepExecution.getWriteSkipCount(), stepExecution.getRollbackCount(),
stepExecution.getId(), stepExecution.getVersion() };
int count = getJdbcTemplate().update(
getQuery(UPDATE_STEP_EXECUTION),