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