Package org.hibernate.dialect.lock
Class PessimisticEntityLockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.dialect.lock.LockingStrategyException
org.hibernate.dialect.lock.PessimisticEntityLockException
- All Implemented Interfaces:
Serializable
Represents an error trying to apply a pessimistic
LockingStrategy
to an entity- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPessimisticEntityLockException
(Object entity, String message, JDBCException cause) Constructs a PessimisticEntityLockException -
Method Summary
Methods inherited from class org.hibernate.dialect.lock.LockingStrategyException
getEntity
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PessimisticEntityLockException
Constructs a PessimisticEntityLockException- Parameters:
entity
- The entity we were trying to lockmessage
- Message explaining the conditioncause
- The underlying cause
-