-->
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: MySQL Server 5.1 - no cascading actions at all
PostPosted: Thu Apr 29, 2010 4:49 pm 
Newbie

Joined: Thu Apr 29, 2010 4:39 pm
Posts: 1
Hi folks,
I'm using Hibernate together with MySQL Community Server 5.1. I have a couple of entities with relations between them, some ManyToMany, some ManyToOne and OneToMany relations.
For all of them cascading actions are set, but when I look at the foreign key relations in the database, there are no actions set for Delete or Update event of related objects, for none of the relations.

After all, I don't have a problem deleting a object of a ManyToMany relation (well, any more). For all other relations I do get a foreign key constraint violation error.

Any help is much appreciated.

Regards, Stevo


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.