-->
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: Cascade delete and reinsert
PostPosted: Mon Jul 12, 2004 4:18 am 
Newbie

Joined: Thu May 20, 2004 9:07 am
Posts: 2
Hi there,

In may application I have 2 tables: parent and a child. At some point I delete some rows from the parent table. According with the settings, also the corresponding rows from the child table will be deleted. But, in the same transaction, I make some inserts in the parent table; it is possible, to have some data within this inserts, that were previously deleled (see above). Oracle throws an error saying some unique constraint was violated. Theoretically, this should not happened because the old row that could cause the violation was deleted (see above).

I hope I made my self clear.

Thanks a lot.


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.