This content has been marked as final.
Show 2 replies
-
1. Re: cascade and restrict
aloubyansky Mar 9, 2004 9:12 AM (in response to mbarragan)> i try put a "NOT NULL" in the reference field in the child, and put <insert-before-postcreate>.
I guess you mean <insert-after-ejb-post-create>true</insert-after-ejb-post-create>?
In general, you should not use database performed cascade delete with CMP because instances removed from the database might still be cached in the container.
Try to use batch-cascade-delete
http://sourceforge.net/tracker/?func=detail&aid=838522&group_id=22866&atid=381174 -
2. Re: cascade and restrict
mbarragan Mar 9, 2004 1:17 PM (in response to mbarragan)Cool.!!
batch-cascade-delete works well.
yes i meant <insert-after-ejb-post-create>.
thank you very much.