-->
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: Illegal attempt to associate a collection with two open sess
PostPosted: Sat Nov 26, 2011 3:49 pm 
Beginner
Beginner

Joined: Sun Jan 30, 2011 8:14 am
Posts: 24
Dear all,
I'm newbie of hibernate.
I got this exception deleting an object:
Code:
Illegal attempt to associate a collection with two open sessions


I found on a site as solution to put singlesession to false.
How and where I should do it?
In delete method? How? Or in the configuration file?

Please help, I can't solve it.
Thanks


Top
 Profile  
 
 Post subject: Re: Illegal attempt to associate a collection with two open sess
PostPosted: Tue Nov 29, 2011 7:46 am 
Newbie

Joined: Tue Nov 29, 2011 7:44 am
Posts: 1
Check the hibernate mapping file...
it may mapped with another table...


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.