Skip Headers

# Configuring Change Policy

Previous

Next

Use a change policy to specify how TopLink should track changes made to objects after you register them with a unit of work. Table: Descriptor Support for Change Policy summarizes which descriptors support a change policy.

Descriptor Support for Change Policy

Descriptor | Deferred Change Detection Policy | Object-Level Change Tracking Policy | Attribute Change Tracking Policy | Using TopLink Workbench | Using Java
--- | --- | --- | --- | --- | ---
Relational DescriptorsFoot 1 |  |  |  |  |
Object-Relational Descriptors |  |  |  |  |
EIS DescriptorsFoot 2 |  |  |  |  |
XML Descriptors |  |  |  |  |

Footnote 1 Relational class descriptors only (see "Relational Class Descriptors").

Footnote 2 EIS root descriptors only (see "EIS Root Descriptors").

By default, TopLink uses the deferred change detection policy.

TopLink supports alternative change policies (policies other than `DeferredChangeDetectionPolicy`) for attributes that use a subset of the mappings that TopLink supports (see "Change Policy Mapping Support").

For CMP applications and EJB 3.0 persistent applications deployed to OC4J TopLink automatically uses the attribute change tracking policy.

For more information, see "Unit of Work and Change Policy".