If I have to lock do I use the Enque Server interfaces?
All applications that use common persistent data must use the same locking mechanism in order to synchronize their access to the data. Therefore, it depends on whether your persistent data can be accessed by other applications and what locking mechanism they use. If they use the database locking mechanisms you must also use them. If they use the Enque server locking, you must also use it. The EJB Container provides both options for CMP entity beans. If you use the Enque server locking you must do it by the TableLocking API from the applocking service.
Related Questions
- I receive an SQL related timeout error or an error such as "SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF]." What can I do to solve this problem?
- Why doesn the Num Lock indicator on my management station reflect the status of the Num Lock on the remote server?
- What e Server side programming interfaces (MMCs)?