类 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.hibernate3.HibernateJdbcException
- 所有已实现的接口:
Serializable
@Deprecated public class HibernateJdbcException extends UncategorizedDataAccessException
已过时。as of Spring 4.3, in favor of Hibernate 4.x/5.xHibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.- 从以下版本开始:
- 1.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.