Skip Headers

# Descriptors and Locking

Previous

Next

You can configure a descriptor with any of the following locking policies to control concurrent access to a domain object:

- Optimistic–All users have read access to the data. When a user attempts to make a change, the application checks to ensure the data has not changed since the user read the data (see "Optimistic Version Locking Policies" and "Optimistic Field Locking Policies").

- Pessimistic–The first user who accesses the data with the purpose of updating it locks the data until completing the update (see "Pessimistic Locking Policy").

- No locking–The application does not prevent users overwriting each other's changes.

Oracle recommends using optimistic locking for most types of applications to ensure that users do not overwrite each other's changes.

For more information, see the following:

- "Understanding Descriptors and Locking"

- "Configuring Locking Policy"