* By setting a savepoint before the DML operations and rolling back to that savepoint in the event of an exception, the developer can ensure that the parent record is not committed without a corresponding child record. References: Apex Developer Guide