-->
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: How to cascade this change?
PostPosted: Fri Nov 07, 2003 8:31 am 
Regular
Regular

Joined: Thu Aug 28, 2003 10:54 am
Posts: 67
I have two classes A and B with 1-1 association. it is unidirectional - A has a B. However, there cannot be a A without an B buts its OK for B to exist without an A. My problem is that when I delete A I need to update its B and none of the cascade options work.
BTW when i create an A I also update the status of B but this works OK, its only the update on delete that i cannpt get to work.

Also i am on hibernate 2.0.3.

thanks


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.