Skip to content

Commit

Permalink
#48 | Use TimeStamp getter to init EtlJobSummary in GET /job/org_uuid…
Browse files Browse the repository at this point in the history
… api response
  • Loading branch information
himeshr committed Aug 21, 2023
1 parent 0a6a028 commit 604b204
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ static class EtlJobLatestStatusResponseMapper implements RowMapper<EtlJobSummary
@Override
public EtlJobSummary mapRow(ResultSet rs, int rowNum) throws SQLException {
EtlJobSummary etlJobLatestStatusResponse = new EtlJobSummary();
etlJobLatestStatusResponse.setLastStartAt(rs.getDate(1));
etlJobLatestStatusResponse.setLastEndedAt(rs.getDate(2));
etlJobLatestStatusResponse.setLastStartAt(rs.getTimestamp(1));
etlJobLatestStatusResponse.setLastEndedAt(rs.getTimestamp(2));
etlJobLatestStatusResponse.setErrorMessage(rs.getString(3));
return etlJobLatestStatusResponse;
}
Expand Down

0 comments on commit 604b204

Please sign in to comment.