In the following code, I use `trunc(date)` in the query, because I am only interested in the date, not the time.

However, I get this printed :

`[2019-11-28 00:00:00=653]` instead of `[2019-11-28=653]`.

Here is the code :

```
Map<String, Integer> map = jdbcTemplate.query("select trunc(closing_date) as closing_date, count(*) as total from some_table group by closing_date", new ResultSetExtractor<Map>() {
    @Override
    public Map extractData(ResultSet rs) {
        HashMap<String, Integer> mapRet = new HashMap<>();
        while(rs.next()) {
            mapRet.put(rs.getString("closing_date"), rs.getInt("total"));
        }
        return mapRet;
    }
});
LOGGER.info(Arrays.toString(map.entrySet().toArray()));

```

Why ?