Class HibernateJdbcException

All Implemented Interfaces:
Serializable

public class HibernateJdbcException extends UncategorizedDataAccessException
Hibernate-specific subclass of UncategorizedDataAccessException, for JDBC exceptions that Hibernate wrapped.
Since:
4.2
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • HibernateJdbcException

      public HibernateJdbcException(JDBCException ex)
  • Method Details

    • getSQLException

      public SQLException getSQLException()
      Return the underlying SQLException.
    • getSql

      public String getSql()
      Return the SQL that led to the problem.