
Use this procedure to specify the type of Enqueue Server locking. The default Enqueue Server locking is Table locking.
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, a container-managed bean instance can use the EJBLocking API to explicitly lock in the Enqueue Server the database entity object that the bean represents.
All container-managed entity beans from an abstract schema for which "No automatic locking" is set can access the EJBLocking object by a JNDI lookup using "java:comp/EJBLocking".
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.
This type of locking is also called Administrative locking. It is deprecated and should not be used for applications.
See also: