1. Hibernate doesn't generate cascade stackoverflow.comI have a set |
2. MySQL Server 5.1 - no cascading actions at all forum.hibernate.orgHi 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, ... |
3. Cascades with MySql forum.hibernate.orgHibernate version: 3.1.3 Name and version of the database you are using: MySql 5.0 Hello, I'm new to hibernate, so far everything works fine - except for one detail: i can't get on delete cascade to work. i'm using hibernate annotations. my entities look like this: Code: @Entity @Name("address") public class Address implements Serializable { @Id @GeneratedValue ... |
4. ConstraintViolationException on cascade save in MySQL/InnoDB forum.hibernate.orgBeginner Joined: Wed Apr 20, 2005 9:30 am Posts: 39 I have an association between two tables, with a 1->M relationship from one to the other. I use the mapping file to create a map of this relationship with cascade set to "all-delete-orphan". When I use InnoDB tables, I cannot save an new object, filled with the map, and then saving ... |