> 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 <a href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824911#3824911">View the original post</a> <a href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824911>Reply to the post</a> ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
