类 HibernateJdbcException
- 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.UncategorizedDataAccessException
- org.springframework.orm.hibernate5.HibernateJdbcException
- 所有已实现的接口:
Serializable
public class HibernateJdbcException extends UncategorizedDataAccessException
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.- 从以下版本开始:
- 4.2
- 作者:
- Juergen Hoeller
- 另请参阅:
SessionFactoryUtils.convertHibernateAccessException(org.hibernate.HibernateException)
, 序列化表格
构造器概要
构造器 构造器 说明 HibernateJdbcException(JDBCException ex)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getSql()
Return the SQL that led to the problem.SQLException
getSQLException()
Return the underlying SQLException.从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
HibernateJdbcException
public HibernateJdbcException(JDBCException ex)
方法详细资料
getSQLException
public SQLException getSQLException()
Return the underlying SQLException.