Chapter 8 Creating J2EE Applications for BEA WebLogic


Cascade Delete

WebLogic Server allows you to specify the cascade delete mechanism to remove entity objects. When cascade delete is specified for a particular relationship it specifies that the lifetime of one entity object depends on the another. You can specific cascade delete for one-to-one and one-to-many relationships; many-to-many relationships are not supported. To enable this feature, you must recompile the code for the changes to the deployment descriptors to take effect.

Use one of the following two methods to enable cascade delete:

 


Copyright (C) 2005. Sybase Inc. All rights reserved.