EJB Specs: 10.3.4.2 Cascade-delete: _______________________________ ... The use of cascade-delete causes only the entity object or objects in the relationship for which it is specified to be deleted. It does not cause the deletion to be further cascaded to other entity objects, unless they are participants in relationship roles for which cascade-delete has also been specified. _______________________________ My understanding about the statements above is "Cascade-delete" can be propagated from one relationship to another. But I'm not very sure. Need comments!
It says "unless they are participants in relationship roles for which cascade-delete has also been specified" This means that the propagation is not automatic. You need to mention Cascade-delete in all the cascaded objects for which you want this to be effective. Thanks
SCJP 1.4, SCWCD, SCBCD 1.3
posted 17 years ago
Thought should come from nothing.
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!