The {@link Transaction} handle is invalidated as a result of thisexception.
For compatibility with JE 3.3 and earlier, {@link DeadlockException} isthrown instead of {@link LockTimeoutException} and {@link TransactionTimeoutException} when {@link EnvironmentConfig#LOCK_OLD_LOCK_EXCEPTIONS} is set to true. Thisconfiguration parameter is false by default. See {@link EnvironmentConfig#LOCK_OLD_LOCK_EXCEPTIONS} for information on the changesthat should be made to all applications that upgrade from JE 3.3 or earlier.
Normally, applications should catch the base class {@link LockConflictException} rather than catching one of its subclasses. All lockconflicts are typically handled in the same way, which is normally to abort and retry the transaction. See {@link LockConflictException} for moreinformation.
@since 4.0
|
|
|
|
|
|