Skip Headers

# Controlling the Order of Delete Operations

Previous

Next

"Deleting Objects" explained that TopLink always properly arranges (orders) the SQL based on the mappings and foreign keys in your object model and schema. You can control the order of delete operations by the following:

- Using the Unit of Work setShouldPerformDeletesFirst Method

- Using the Descriptor addConstraintDependencies Method