ode></a>.

 <p>The lock modes <a href="#PESSIMISTIC_READ"><code>LockModeType.PESSIMISTIC_READ</code></a>, <a href="#PESSIMISTIC_WRITE"><code>LockModeType.PESSIMISTIC_WRITE</code></a>, and
 <a href="#PESSIMISTIC_FORCE_INCREMENT"><code>LockModeType.PESSIMISTIC_FORCE_INCREMENT</code></a> are used to immediately
 obtain long-term database locks.

 <p> The semantics of requesting locks of type
 <code>LockModeType.PESSIMISTIC_READ</code>, <code>LockModeType.PESSIMISTIC_WRITE</code>, and
 <code>LockModeType.PESSIM