Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
* A {@link JDBCException} indicating a problem acquiring a lock
* on the database.
*
* @apiNote Some databases make it quite hard to for a client to
* distinguish a {@linkplain LockTimeoutException lock timeout}
* from other sorts of rejected lock acquisitions, and so
* application programs should not over-interpret the distinction
* made between {@code LockAcquisitionException} and its subclass
* {@link LockTimeoutException} on such platforms.
*
* @author Steve Ebersole
*/
public class LockAcquisitionException extends PessimisticLockException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
* A {@link JDBCException} indicating that a {@linkplain org.hibernate.LockMode lock}
* request timed out on the database.
*
* @apiNote Some databases make it quite hard to for a client
* to distinguish a lock timeout from other sorts of rejected
* lock acquisitions, and so application programs should avoid
* over-interpreting the distinction made between
* {@code LockTimeoutException} and its superclass
* {@link LockAcquisitionException} on such platforms.
*
* @author Steve Ebersole
*
* @see org.hibernate.LockOptions#getTimeOut
Expand Down