@Override
    public Visit mapRow(ResultSet rs, int row) throws SQLException {
        Visit visit = new Visit();
        visit.setId(rs.getInt("visit_id"));
        visit.setDate(rs.getObject("visit_date", LocalDate.class));
        visit.setDescription(rs.getString("description"));
        return visit;
    }
{@link RowMapper} implementation mapping data from a {@link ResultSet} to the corresponding properties
of the {@link Visit} class.
src/main/java/org/springframework/samples/petclinic/repository/jdbc/JdbcVisitRowMapper.java