Changes pet list to edit by id instead of entity
The pet list "Edit" button was calling a method in the managed bean that received the Pet entity. This caused lots of unnecessary queries in the database. In order to avoid this, the edit method now receives the pet identifier instead of the entity.
Showing
Please register or sign in to comment