/** * Return the underlying SQLException. */ public SQLException getSQLException() { return ((JDBCException) getCause()).getSQLException(); }
return new HibernateJdbcException((JDBCException) ex);
return new HibernateJdbcException((JDBCException) ex);
/** * Return the SQL that led to the problem. */ public String getSql() { return ((JDBCException) getCause()).getSQL(); }
return new HibernateJdbcException((JDBCException) ex);
/** * Return the SQL that led to the problem. */ public String getSql() { return ((JDBCException) getCause()).getSQL(); }
/** * Return the underlying SQLException. */ public SQLException getSQLException() { return ((JDBCException) getCause()).getSQLException(); }
/** * Return the SQL that led to the problem. */ public String getSql() { return ((JDBCException) getCause()).getSQL(); }
/** * Return the underlying SQLException. */ public SQLException getSQLException() { return ((JDBCException) getCause()).getSQLException(); }