-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Exception: Found two representations of same collection
PostPosted: Thu Jan 01, 2004 10:08 pm 
Newbie

Joined: Mon Nov 17, 2003 10:00 pm
Posts: 1
net.sf.hibernate.HibernateException: Found two representations of same collection
at net.sf.hibernate.impl.SessionImpl.updateReachableCollection(SessionImpl.java:2752)
at net.sf.hibernate.impl.FlushVisitor.processCollection(FlushVisitor.java:32)
at net.sf.hibernate.impl.AbstractVisitor.processValue(AbstractVisitor.java:69)
at net.sf.hibernate.impl.AbstractVisitor.processValues(AbstractVisitor.java:36)
at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2472)
at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2338)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2205)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2184)

Reason is what?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 01, 2004 10:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
This may happen if you have a collection which was previously attatched to a hibernate object and somehow reattatch it to a session I think. What you are exactly doing wrong is really hard to tell without you showing any code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.