Package org.hibernate.exception
Class LockAcquisitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.JDBCException
org.hibernate.PessimisticLockException
org.hibernate.exception.LockAcquisitionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LockTimeoutException
A
JDBCException
indicating a problem acquiring a lock
on the database.- See Also:
- API Note:
- 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 not over-interpret the distinction
made between
LockAcquisitionException
and its subclassLockTimeoutException
on such platforms.
-
Constructor Summary
ConstructorsConstructorDescriptionLockAcquisitionException
(String string, SQLException root) LockAcquisitionException
(String string, SQLException root, String sql) -
Method Summary
Methods inherited from class org.hibernate.JDBCException
getErrorCode, getErrorMessage, getSQL, getSQLException, getSQLState
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LockAcquisitionException
-
LockAcquisitionException
-