-->
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: update - delete with JPA (many to many)
PostPosted: Fri Oct 10, 2008 1:15 pm 
Newbie

Joined: Fri Oct 10, 2008 1:06 pm
Posts: 1
Hi,

I am using JPA with Hibernate. I have an entity Target which has a list of another entity ProductwiseTarget. There is a many to many relationship between the Product and Target entities and ProductwiseTarget is the association class.

I want to update ProductwiseTarget list in by removing some existing associations.

Can I perform this operation without having to write explicit delete queries?

Entitymanager version:3.3.1.GA

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 17, 2008 2:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Ask in User/JPA forum.

_________________
Max
Don't forget to rate


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.