-->
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.  [ 3 posts ] 
Author Message
 Post subject: Delete many to many association
PostPosted: Mon Jun 12, 2006 6:17 pm 
Newbie

Joined: Wed May 31, 2006 9:31 am
Posts: 9
Location: Südtirol
Hi!

I have to classes User and Project, they are m:n mapped.

I tried to remove the relationship between them with:
List l=us.getProjectList();
l.remove(p);
us.setProjectList(l);

us is a User;

But it doesn't work, can anybody help me?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 7:21 pm 
Senior
Senior

Joined: Sun Jun 04, 2006 1:58 am
Posts: 136
This might be help ful
http://www.hibernate.org/116.html#A17


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 7:36 pm 
Newbie

Joined: Wed May 31, 2006 9:31 am
Posts: 9
Location: Südtirol
No, it doesn't work ayway...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.