File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
hibernate-core/src/main/java/org/hibernate/exception Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 13
13
* A {@link JDBCException} indicating a problem acquiring a lock
14
14
* on the database.
15
15
*
16
+ * @apiNote Some databases make it quite hard to for a client to
17
+ * distinguish a {@linkplain LockTimeoutException lock timeout}
18
+ * from other sorts of rejected lock acquisitions, and so
19
+ * application programs should not over-interpret the distinction
20
+ * made between {@code LockAcquisitionException} and its subclass
21
+ * {@link LockTimeoutException} on such platforms.
22
+ *
16
23
* @author Steve Ebersole
17
24
*/
18
25
public class LockAcquisitionException extends PessimisticLockException {
Original file line number Diff line number Diff line change 12
12
* A {@link JDBCException} indicating that a {@linkplain org.hibernate.LockMode lock}
13
13
* request timed out on the database.
14
14
*
15
+ * @apiNote Some databases make it quite hard to for a client
16
+ * to distinguish a lock timeout from other sorts of rejected
17
+ * lock acquisitions, and so application programs should avoid
18
+ * over-interpreting the distinction made between
19
+ * {@code LockTimeoutException} and its superclass
20
+ * {@link LockAcquisitionException} on such platforms.
21
+ *
15
22
* @author Steve Ebersole
16
23
*
17
24
* @see org.hibernate.LockOptions#getTimeOut
You can’t perform that action at this time.
0 commit comments