Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
shouldn't batchId be a number when binding SQL parameters?
  • Loading branch information
erilong committed Apr 1, 2008
1 parent 6b6462e commit 2201bb4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -240,7 +240,7 @@ public void markOutgoingBatchSent(OutgoingBatch batch) {
}

public void setBatchStatus(String batchId, Status status) {
jdbcTemplate.update(changeBatchStatusSql, new Object[] { status.name(), batchId });
jdbcTemplate.update(changeBatchStatusSql, new Object[] { status.name(), new Long(batchId) });

if (status == Status.SE) {
historyService.sent(new Integer(batchId));
Expand Down

0 comments on commit 2201bb4

Please sign in to comment.