Skip Headers

# Configuring Optimistic Locking Policy Cascading

Previous

Next

If you are using a `VersionLockingPolicy`, you can enable cascading to configure TopLink to automatically force a version field update on a parent object when its privately owned child object's version field changes. Use `VersionLockingPolicy` method `setIsCascaded` passing in a `boolean` of `true` to enable cascading, or `false` to disable cascading.

For more information, see "Optimistic Version Locking Policies and Cascading".