-->
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.  [ 1 post ] 
Author Message
 Post subject: Stopping deletes from join table
PostPosted: Mon Oct 31, 2005 11:42 pm 
Newbie

Joined: Mon Sep 27, 2004 10:13 pm
Posts: 1
Hibernate version:3.1

Mapping documents:

<class name="SyndFeedImpl" table="synd_feed">
<id name="uri" column="feed_uri">
<generator class="assigned"/>
</id>

<property name="title" />
..
<bag name="entries" table="feed_entries" cascade="save-update" >
<key column="feed_uri" />
<many-to-many unique="true" column="entry_uri" class="com.sun.syndication.feed.synd.SyndEntryImpl" />
</bag>
</class>


Is there any way to stop rows from the feed_entries table being deleted when the associated object are no longer connected to the SyndFeed? I've tried various cascade options but I can't get it to work.


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

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.