-->
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: all-delete-orphan equivalent in annotations?
PostPosted: Thu Mar 31, 2005 6:22 pm 
Newbie

Joined: Thu Mar 31, 2005 5:01 pm
Posts: 16
Hi,
I am using Hibernate3 with the EJB3 preview. I have a OneToMany assocation and would like to see the behaviour that would have been provided by cascade=all-delete-orphan were I using the old Hibernate metadata. Specifically I want rows to be deleted from the database when I remove objects from an association's collection.
Is there a way to do this using annotations? I am trying to avoid doing my mapping using XML.

Thanks,
Rob.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 31, 2005 7:24 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is not currently possible but in the queue
http://opensource.atlassian.com/project ... wse/HBX-81

Vote for it

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 31, 2005 7:29 pm 
Newbie

Joined: Thu Mar 31, 2005 5:01 pm
Posts: 16
Done. Thanks for the reply.


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.