By default, queryForList() returns each for as a Map. The object can be plain String, java.sql.Timestamp
queryForList()
Map
String
java.sql.Timestamp
Maybe there is a better way, but the following works:
jdbcTemplate.query(sql, params, new ColumnMapRowMapper() { @Override protected Object getColumnValue(ResultSet rs, int index) { return rs.getString(index); } }