Skip Headers

# Disabling forceUpdateToVersionField

Previous

Next

The `forceUpdateToVersionField` configuration you apply to an object stays in effect for the lifetime of your unit of work. After you commit your transaction, `forceUpdateToVersionField` configuration no longer applies.

To remove `forceUpdateToVersionField` configuration from an object before commit time, use the unit of work method `removeForceUpdateToVersionField`. TopLink will not apply optimistic read locking to the object unless you change it in this transaction (that is, unless you modify its direct-to-field or aggregate object mapping attribute).