org.springframework.orm.hibernate5

Class HibernateJdbcException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getSql()
      Return the SQL that led to the problem.
      java.sql.SQLException getSQLException()
      Return the underlying SQLException.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HibernateJdbcException

        public HibernateJdbcException(JDBCException ex)
    • Method Detail

      • getSQLException

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

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