Package org.hibernate.dialect.lock
Class OptimisticEntityLockException
- 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.OptimisticEntityLockException
-
- All Implemented Interfaces:
Serializable
public class OptimisticEntityLockException extends LockingStrategyException
Represents an error trying to apply an optimisticLockingStrategy
to an entity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptimisticEntityLockException(Object entity, String message)
Constructs a OptimisticEntityLockExceptionOptimisticEntityLockException(Object entity, String message, Throwable cause)
Constructs a OptimisticEntityLockException
-
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
-
-