db4o |

# ObjectField.cascadeOnUpdate Method

sets cascaded update behaviour.

void cascadeOnUpdate(
bool flag
);

#### Parameters

flag
  whether updates are to be cascaded to the member object.

#### Remarks

sets cascaded update behaviour.
Setting cascadeOnUpdate to true will result in the update of the object attribute stored in this field if the parent object is passed to set .
The default setting is false.

#### See Also

ObjectField Interface | com.db4o.config Namespace | set | cascadeOnUpdate | updateDepth | Using callbacks