!--a11y-->
Choosing the Type of Enqueue Server
Locking 
Use this procedure to specify the type of enqueue server locking. The default enqueue server locking is table locking.
...
1. Open the persistent.xml
2. From the right-hand pane, choose the General tab
3. Choose the locking type from the following options:
¡ No automatic locking (except some local simulations)
This type of locking is also called Local locking. It can only be used when only one server is running because it does not synchronize the locks on multiple servers that work in a cluster. That is, Local locking synchronizes the concurrent access on one server only, and does not use the enqueue server to keep the locks. In this case, the application can use the EJBLocking API for explicit locking in the enqueue server.
¡ Automatic locking
This type of locking is also called Table locking. It automatically locks the entity beans in the enqueue server, and in this way ensures that all applications that run in the cluster and use common data have common locks.
¡ Automatic locking, but tables are not defined in the Data Dictionary
This type of locking is also called Administrative locking. It is deprecated and should not be used for applications.
See also:
