JDBCExceptionpublic class JDBCException extends HibernateException Wraps an SQLException. Indicates that an exception
occurred during a JDBC call. |
Fields Summary |
---|
private SQLException | sqle | private String | sql |
Methods Summary |
---|
public int | getErrorCode()Get the errorCode of the underlying SQLException.
return sqle.getErrorCode();
| public java.lang.String | getSQL()Get the actual SQL statement that caused the exception
(may be null)
return sql;
| public java.sql.SQLException | getSQLException()Get the underlying SQLException.
return sqle;
| public java.lang.String | getSQLState()Get the SQLState of the underlying SQLException.
return sqle.getSQLState();
|
|