Top Description Constructors Methods
org.springframework.orm.hibernate5

public Class HibernateJdbcException

extends UncategorizedDataAccessException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.sql.SQLException, org.hibernate.JDBCException, org.springframework.dao.UncategorizedDataAccessException

Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.
Author
Juergen Hoeller
Since
4.2
See Also
SessionFactoryUtils#convertHibernateAccessException

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getSql()

Return the SQL that led to the problem.

public SQLException
getSQLException()

Return the underlying SQLException.

Constructor Detail

HibernateJdbcExceptionback to summary
public HibernateJdbcException(JDBCException ex)

Method Detail

getSqlback to summary
public String getSql()

Return the SQL that led to the problem.

getSQLExceptionback to summary
public SQLException getSQLException()

Return the underlying SQLException.