Example usage for Java org.hibernate JDBCException fields, constructors, methods, implement or subclass
The text is from its open source code.
JDBCException(String message, SQLException cause) Constructs a JDBCException using the given information. | |
JDBCException(String message, SQLException cause, String sql) Constructs a JDBCException using the given information. |
int | getErrorCode() Get the vendor specific error code from the underlying SQLException . |
String | getSQL() Get the actual SQL statement being executed when the exception occurred. |
SQLException | getSQLException() Get the underlying SQLException . |
String | getSQLState() Get the X/Open or ANSI SQL SQLState error code from the underlying SQLException . |