-->
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: Cascade deletion
PostPosted: Wed Aug 20, 2008 5:41 am 
Newbie

Joined: Mon Jul 14, 2008 7:08 am
Posts: 18
Parent doesn't have collection of children but each child has reference to parent. Is there any way to apply cascade deletion for parent (i.e. when I remove parent all children which reference this parent need to be deleted)?


Top
 Profile  
 
 Post subject: Re: Cascade deletion
PostPosted: Thu Aug 21, 2008 7:05 am 
Newbie

Joined: Mon Jul 14, 2008 7:08 am
Posts: 18
Is there any way of deleting children of particular parent not even selecting them to domain? I just have parent without children collection and I want to delete parent and its children. I can define children collection (but won't use it anyway) for this purpose but I also have to eagerly load them to allow cascade deleting ((( This is the thing I don't want to do


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.