Java org.hibernate JDBCException fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate JDBCException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate JDBCException.

The text is from its open source code.

Constructor

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.

Method

intgetErrorCode()
Get the vendor specific error code from the underlying SQLException .
StringgetSQL()
Get the actual SQL statement being executed when the exception occurred.
SQLExceptiongetSQLException()
Get the underlying SQLException .
StringgetSQLState()
Get the X/Open or ANSI SQL SQLState error code from the underlying SQLException .