[Vuejs]-It is inserted using existing data. Why is a new row created?

0👍

Make sure productInfo.getUser() has identity set i.e. it has id mapped to tables otherwise hibernate does not know whether the user object is new or old one.

Leave a comment