@Override
    public List<PetType> findPetTypes() {
        return this.jdbcClient
            .sql("SELECT id, name FROM types ORDER BY name")
            .query(BeanPropertyRowMapper.newInstance(PetType.class))
            .list();
    }
@author Ken Krebs
@author Juergen Hoeller
@author Rob Harrop
@author Sam Brannen
@author Thomas Risberg
@author Mark Fisher
@author Antoine Rey
src/main/java/org/springframework/samples/petclinic/repository/jdbc/JdbcPetRepositoryImpl.java