Open jnz73 opened 5 years ago
Yes, this way works. Adding hat line to the processUpdateForm method in the PetController solves Issue #99. I was wondering if is possible also to set the owner in the pet object through the thymeleaf form adding an hidden input (the same way we pass the Id) to fix both issues.
In the newly added Pet, the OWNER_ID column in the database is null.