cascading-deletes
Hibernate delete objects on cascade
I\'m sligthly confused as to how the cascade=\"delete\" works. I defined the mapping i开发者_运维知识库n the following way in the City mapping file:[详细]
2023-01-16 09:14 分类:问答GORM 1:N Association Cascades Delete Without belongsTo!
I would 开发者_如何转开发like to create a one-to-many association that does not cascade deletes. Reading the Grails Reference it says[详细]
2023-01-16 09:06 分类:问答NHibernate Simple Delete Driving Me Mad
I\'m trying to delete an entity (ForumTopic) and have that delete the Posts (ForumPost) within it.Here are my entities:[详细]
2023-01-11 12:44 分类:问答LLBLGen Cascading Delete?
Is there any easy way to do what seems best described as a \"Cascading Delete\" in LLBLGen?An example of what I\'m looking for:[详细]
2023-01-11 02:16 分类:问答Hibernate all-delete-orphan on a child class with two parent classes
I\'m looking into a problem, where there are two \"parent\" classes, P and Q that cascade all-delete-orphan to a \"child\" class, C. My intuition in Hibernate tells this is really a bad idea and I am[详细]
2023-01-07 06:40 分类:问答SQL Server Multiple cascade sequence
Assume Table A has two children tables, B and C with cascade delete between A-B, and cascade delete between A-C.[详细]
2023-01-07 05:52 分类:问答sql cascading deletes
I have a question about cascading deletes and foreign key references: Let\'s assume the following tables:[详细]
2023-01-05 03:55 分类:问答Deletes not cascading for self-referencing entities
I have the following (simplified) Hibernate entities: @Entity @Table(name = \"package\") public class Package {[详细]
2023-01-03 07:06 分类:问答Tree deletion with NHibernate
I\'m struggling with a little problem and starting to arrive开发者_StackOverflow社区 at the conclusion it\'s simply not possible.[详细]
2023-01-02 04:11 分类:问答mysql codeigniter active record m:m deletion
I have a table 2 tables that have a m:m relationship, what I can wanting is that when I delete a row from one of the tables I want the row in the joining table to be deleted as well, my sql is as foll[详细]
2022-12-31 22:50 分类:问答