public class HibernateJdbcException extends UncategorizedDataAccessException
SessionFactoryUtils.convertHibernateAccessException(org.hibernate.HibernateException)
,
Serialized FormConstructor and Description |
---|
HibernateJdbcException(JDBCException ex) |
Modifier and Type | Method and Description |
---|---|
String |
getSql()
Return the SQL that led to the problem.
|
SQLException |
getSQLException()
Return the underlying SQLException.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public HibernateJdbcException(JDBCException ex)
public SQLException getSQLException()
public String getSql()