类 HibernateOptimisticLockingFailureException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.dao.DataAccessException
- org.springframework.dao.TransientDataAccessException
- org.springframework.dao.ConcurrencyFailureException
- org.springframework.dao.OptimisticLockingFailureException
- org.springframework.orm.ObjectOptimisticLockingFailureException
- org.springframework.orm.hibernate5.HibernateOptimisticLockingFailureException
- 所有已实现的接口:
Serializable
public class HibernateOptimisticLockingFailureException extends ObjectOptimisticLockingFailureException
Hibernate-specific subclass of ObjectOptimisticLockingFailureException. Converts Hibernate's StaleObjectStateException, StaleStateException and OptimisticEntityLockException.- 从以下版本开始:
- 4.2
- 作者:
- Juergen Hoeller
- 另请参阅:
SessionFactoryUtils.convertHibernateAccessException(org.hibernate.HibernateException)
, 序列化表格
方法概要
从类继承的方法 org.springframework.orm.ObjectOptimisticLockingFailureException
getIdentifier, getPersistentClass, getPersistentClassName
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
HibernateOptimisticLockingFailureException
public HibernateOptimisticLockingFailureException(StaleObjectStateException ex)
HibernateOptimisticLockingFailureException
public HibernateOptimisticLockingFailureException(StaleStateException ex)
HibernateOptimisticLockingFailureException
public HibernateOptimisticLockingFailureException(OptimisticEntityLockException ex)