@Override
    @SuppressWarnings("unchecked")
    public Collection<Vet> findAll() {
        return this.em.createQuery("SELECT distinct vet FROM Vet vet left join fetch vet.specialties ORDER BY vet.lastName, vet.firstName").getResultList();
    }
JPA implementation of the {@link VetRepository} interface.

@author Mike Keith
@author Rod Johnson
@author Sam Brannen
@author Michael Isvy
@since 22.4.2006
src/main/java/org/springframework/samples/petclinic/repository/jpa/JpaVetRepositoryImpl.java