I have a record with a OneToMany association. From this associated record-set a record is
removed and added again, both records identified with the same key. When doing a merge, I
get a Unique constraint violation, because EJB first tries to insert the new record. in
fact it should first delete the old record, and after this insert the new record, avoiding
the unique constraint violation.
There is a bug registered with the same issue at
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2801
Any help would be appreciated
Regards
Imran Pariyani
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081368#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...