Top "Cascading-deletes" questions

The concept of SQL databases deleting rows that refer (via a foreign key) to a deleted row.

Fastest way to delete cascade multiple objects in Hibernate

I am using Hibernate to delete an object that has two cascade levels, and my problem is that it is …

java hibernate cascading-deletes
Hibernate cascade delete orphan

I have 2 entities: News and NewsComment @Entity @Table(name = "news", schema = "city") public class News { private Set<CommentNews> …

hibernate cascading-deletes all-delete-orphan
Enable cascading deletes in EF Code First without exposing foreign key

When performing a delete of a one-many relationship without exposing the foreign key, EF deletes the parent record and tries …

entity-framework one-to-many code-first cascading-deletes
How to use delete cascade on MySQL MyISAM storage engine?

I have one table that I had called equipment, and 8 other tables that I had called equipment_child1 and so …

mysql cascading-deletes
OneToOne relation with the User model (django.contrib.auth) without cascading delete

I'm a bit confused about how the OneToOneField works when deletion comes into play. The only quasi-authoritative info I can …

django django-authentication one-to-one cascading-deletes
NHibernate One-To-Many Delete Not Cascading

I have a 'Photo' class and a 'Comment' class. An Photo can have multiple comments assigned to it. I have …

asp.net nhibernate relational-database cascading-deletes nhibernate-cascade
iPhone Core Data: Cascading delete across a many-to-one relationship

I have two classes A and B with a many-to-one relationship from A to B (multiple A objects may reference …

iphone cocoa cocoa-touch core-data cascading-deletes
nhibernate "cascade="all-delete-orphan" error

i have 3 tables in my database: Projects (id, name) Tags (id, name) ProjectsTagss (id, projectId, tagid) As you can see …

c# nhibernate fluent-nhibernate cascading-deletes
How to avoid database deadlocks?

Some database features, such as SELECT ... FOR UPDATE and ON DELETE CASCADE, are implicitly vulnerable to deadlocks because the database …

sql select cascading-deletes database-deadlocks
Django on_delete=models.CASCADE has no effect at SQL level

My models.py file contains: class User(models.Model): email = models.CharField(max_length=100, unique=True) password = models.CharField(max_…

python mysql django cascade cascading-deletes