Troubleshooting (JDBC Driver)


When errors occur, the JDBC driver triggers exceptions of the following classes. All classes are subclasses of the java.sql.SQLException class of the Java platform.




Error when executing an SQL statement

Internal error of the JDBC driver

An invalid parameter value has been transferred to a method

An invalid column of an object in the class ResultSet was accessed

Internal error of the JDBC driver

A property has been used that the JDBC driver does not support

Object in the class Connection, Statement, or ResultSet accessed after close method called for this object.

Error when preparing an SQL statement

Error when converting between Java and SQL data types

In order to write a Java application that is independent of the database product, do not explicitly query the above-mentioned exceptions in catch statements, but only exceptions of the java.sql.SQLException class.