Skip Headers

# Attribute Change Tracking Policy

Previous

Next

The `AttributeChangeTrackingPolicy` optimizes the unit of work commit transaction by tracking all object changes at the attribute level. This eliminates two unit of work operations: backup clone creation and change detection through comparison.

This option provides improved unit of work commit performance for objects with many attributes, and few changed attributes. Generally, this is the most efficient change policy.

This change policy is applicable to a subset of mapping types (see "Change Policy Mapping Support").

Note: You cannot use the `AttributeChangeTrackingPolicy` if you are using any instance of `FieldsLockingPolicy` (see "Optimistic Field Locking Policies").

TopLink provides different levels of support for this change policy depending on the EBJ version and application server you are using: