Apache Cayenne > Index > Cayenne FAQ > Delete Object In To-Many Relationship
Added by Mike Kienenberger, last edited by Andrus Adamchik on Feb 22, 2005  (view change)

In the modeler tool, set the to-many relationship Delete Rule to be "Nullify" for each relationship the object appears in.

See CayenneModeler Guide -> Modeling Object Layer -> Delete Rules for more information and more options.