@Override
    public Pet findById(int id) {
        return this.em.find(Pet.class, id);
    }
JPA implementation of the {@link PetRepository} 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/JpaPetRepositoryImpl.java