Package org.hibernate.dialect.lock
Class PessimisticEntityLockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.dialect.lock.LockingStrategyException
-
- org.hibernate.dialect.lock.PessimisticEntityLockException
-
- All Implemented Interfaces:
java.io.Serializable
public class PessimisticEntityLockException extends LockingStrategyException
Represents an error trying to apply a pessimisticLockingStrategy
to an entity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PessimisticEntityLockException(java.lang.Object entity, java.lang.String message, JDBCException cause)
Constructs a PessimisticEntityLockException
-
Method Summary
-
Methods inherited from class org.hibernate.dialect.lock.LockingStrategyException
getEntity
-
-
-
-
Constructor Detail
-
PessimisticEntityLockException
public PessimisticEntityLockException(java.lang.Object entity, java.lang.String message, JDBCException cause)
Constructs a PessimisticEntityLockException- Parameters:
entity
- The entity we were trying to lockmessage
- Message explaining the conditioncause
- The underlying cause
-
-