@Override
    public JdbcPet mapRow(ResultSet rs, int rownum) throws SQLException {
        JdbcPet pet = new JdbcPet();
        pet.setId(rs.getInt("pets.id"));
        pet.setName(rs.getString("name"));
        pet.setBirthDate(rs.getObject("birth_date", LocalDate.class));
        pet.setTypeId(rs.getInt("type_id"));
        pet.setOwnerId(rs.getInt("owner_id"));
        return pet;
    }
{@link RowMapper} implementation mapping data from a {@link ResultSet} to the corresponding properties
of the {@link JdbcPet} class.
src/main/java/org/springframework/samples/petclinic/repository/jdbc/JdbcPetRowMapper.java