-->
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: integrity constraint violated
PostPosted: Mon Sep 15, 2003 11:03 am 
Beginner
Beginner

Joined: Wed Aug 27, 2003 7:53 am
Posts: 27
Theoretically, is it ok to get Hibernate generate sql commands which break it's own generated table structure's index? I regenerated the structure with the current mapping from scratch (not that it changed, but to make sure), but I still get Oracle errors: ORA-02292: integrity constraint (VOIP_RATER.FK3596FCCC38F0C7) violated - child record found

Of course I'll start and debug the problem in my 1-n relations and the way I remove entities participating in relations, but I really wonder if hibernate should or should not behave like that. If it's a bug, I'll try and help tracking down the problem..

thanks,
dyn

_________________
.Digital.Yearning.for.Networked.Assassination.and.Xenocide


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 15, 2003 1:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Hibernate does not usually cause foreign key constraint violations.

The only case in which it really happens is when deleting (which is something we cannot possibly fix!).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 16, 2003 3:08 am 
Beginner
Beginner

Joined: Wed Aug 27, 2003 7:53 am
Posts: 27
It happens on delete.. okay I'll fix it on my own.

Thanks,
dyn

_________________
.Digital.Yearning.for.Networked.Assassination.and.Xenocide


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.