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.
Source:stackexchange.com
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.