> 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
batch-cascade-delete works well.
yes i meant <insert-after-ejb-post-create>.
thank you very much.