@Override
public void processRow(ResultSet rs) throws SQLException {
ParameterType type = ParameterType.valueOf(rs
.getString("TYPE_CD"));
JobParameter value = null;
if (type == ParameterType.STRING) {
value = new JobParameter(rs.getString("STRING_VAL"));
} else if (type == ParameterType.LONG) {
value = new JobParameter(rs.getLong("LONG_VAL"));
} else if (type == ParameterType.DOUBLE) {
value = new JobParameter(rs.getDouble("DOUBLE_VAL"));
} else if (type == ParameterType.DATE) {
value = new JobParameter(rs.getTimestamp("DATE_VAL"));
}
map.put(rs.getString("KEY_NAME"), value);
}
};
Map<String, Object> args = new HashMap<String, Object>();