I am trying to update an object in hibernate but I don't understand why it is not getting updated in the db. Can anyone please help?
Controller class method
I am trying to update the city of the owner but I it's not getting updated. Here is what I get in the console.
Within the editOwner method I get the owner's city so I believe the value is passed properly. It's something to do with the method.
I tried with update, merge, saveOrUpdate but nothing seems to work.