This content has been marked as final. Show 3 replies
Thank you gimbal2 for your time,
Yes it is not exactelly the code I am using because I tried to made it simple because my code is too complicated and what i post is a part from it,
if you cannot understand something tell me i will explain,
Note : I added some code to make it better, still a bean personne that is a normal java bean
and thanks again for your time and help.
Edited by: user12080096 on Dec 3, 2012 9:08 PM
Its still not the code you're actually using. I don't see anything wrong with the snippet as it is. The only thing I can think of is that you should double check the object you're trying to merge; does it have a valid ID value? If it doesn't the merge cannot work, although I would expect an exception in such a case.
Also check that you're not actually swallowing exceptions somewhere.