Show TOC

 Enabling Database LockingLocate this document in the navigation structure

Use

Use this procedure to enable database locking for a specific container-managed entity bean in the EJB application.

Procedure
  1. Open the persistent.xml.
  2. From the right-hand pane, choose the Entity Beans tab.
  3. Select the entity bean for which you want to specify database locking.
  4. Choose the Create locks on the database instead of on the SAP Enqueue Server option.

The <select-for-update/> element is added for the corresponding bean.