Re: [JBoss-user] cascade delete question

2003-07-16 Thread Alexey Loubyansky
Hello Ionel, cascade-delete, if set, should be on the many side. So, cascade-delete. alex Wednesday, July 16, 2003, 9:38:14 AM, Ionel Gardais wrote: IG> Hi, IG> Considere three beans A, B and C. (B and C are two instance of the same IG> kind) IG> B and C knows A but A does not know B or C (un

[JBoss-user] cascade delete question

2003-07-15 Thread Ionel Gardais
Hi, Considere three beans A, B and C. (B and C are two instance of the same kind) B and C knows A but A does not know B or C (unidirectionnal relationship from B/C to A) When A is deleted, B and C should be deleted too *but* when B or C are deleted, A shouldn't be deleted. In the relationship