NonUniqueObjectException with Hibernate


i get a NonUniqueObjectException from the generated Hibernate.

I try to save an object that has been changed (changing some values). On saving this Exception is thrown.
I even tried to delete this object and save it afterwards with the same result: NonUniqueObjectException

Google told me that this is a known problem of hibernate and some guys solved the problem by using another update-Method but this didn’t work either.

What can I do?


Hi Eraser,

Thanks for your post. May I know are you developing Web application?

Best regards,
Lilian Wong