spring-framework / org.springframework.orm.hibernate5 / HibernateJdbcException

HibernateJdbcException

open class HibernateJdbcException : UncategorizedDataAccessException

Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.

Author
Juergen Hoeller

Since
4.2

See Also
SessionFactoryUtils#convertHibernateAccessException

Constructors

<init>

HibernateJdbcException(ex: JDBCException)

Functions

getSQLException

open fun getSQLException(): SQLException

Return the underlying SQLException.

getSql

open fun getSql(): String

Return the SQL that led to the problem.