@GetMapping(value = "/owners/{ownerId}/edit")
    public String initUpdateOwnerForm(@PathVariable("ownerId") int ownerId, Model model) {
        Owner owner = this.clinicService.findOwnerById(ownerId);
        model.addAttribute(owner);
        return VIEWS_OWNER_CREATE_OR_UPDATE_FORM;
    }
@author Juergen Hoeller
@author Ken Krebs
@author Arjen Poutsma
@author Michael Isvy
src/main/java/org/springframework/samples/petclinic/web/OwnerController.java