This content has been marked as final.
Show 4 replies
-
1. Re: Problem with collection CMR field and ejb create
drag0n2 Aug 2, 2004 7:54 PM (in response to drag0n2)this is in jboss 3.2.4
-
2. Re: Problem with collection CMR field and ejb create
aloubyansky Aug 3, 2004 2:42 AM (in response to drag0n2)You are misunderstanding cascade-delete. Re-read the remove protocols in the spec. What you are doing is just destroying relationships. Nothing's wrong so far.
-
3. Re: Problem with collection CMR field and ejb create
drag0n2 Aug 3, 2004 3:14 PM (in response to drag0n2)But the relationship is not destroyed... If I run the clear statement alone and then commit, no changes are made to the database whatsoever....
The only way to destroy this relationship in the db is to delete the rows (because the relationship resides in the primary key of the child record). -
4. Re: Problem with collection CMR field and ejb create
aloubyansky Aug 4, 2004 4:30 AM (in response to drag0n2)Then call remove method on the instance.