Example usage for Java org.hibernate.exception DataException fields, constructors, methods, implement or subclass
The text is from its open source code.
DataException(String message, SQLException root, String sql) Constructor for JDBCException. | |
DataException(String message, SQLException root) Constructor for JDBCException. |
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 . |