Skip to main content



      Home
Home » Modeling » EMF » [Teneo] Reference basic understanding issue(org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session)
icon5.gif  [Teneo] Reference basic understanding issue [message #814377] Tue, 06 March 2012 06:29
Eclipse UserFriend
Hi,
I am using Teneo and Hibernate for persisting my RCP.
The following issue keeps coming up:
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [Object]


I believe the problem is related to some wrong referencing, but cant get my head around.
The references are as per the attached image.

When I load the ContentObject
s.load(co, co.getObjectId());
co.getFunction().add(currFunction);

When I commit the update the above error occurs. with my "container" object and uuid
[Container#ae4b07b5-9bad-4d5e-b006-1bc515cb9686]

I hope one of you can help me out and point me into the right direction.

Regards,
Ben
Previous Topic:[Teneo] EclipseLink ClassCastException
Next Topic:How get internationalized enumeration literal
Goto Forum:
  


Current Time: Tue Nov 04 08:39:18 EST 2025

Powered by FUDForum. Page generated in 0.41853 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top