jlawmi wrote:
this is typically because you have 2 objects connected to the session with the same id, but are not == (not the same pointer in jvm)
i suggest you
post your code that talks to hibernate
James
I've debugged my way through the code and found that you are right - there is already an object in the session with with same ID as the one i'm trying to add. The problem is that they should be the same object.
Is there anyway I can find out what the difference is betwen these two objects?
Many thanks,
Nick.