Why do I get "Driver Not Capable" errors and what does it mean?

swarraj kulkarni

This error indicates that: the operation is valid but not supported by either the driver or the data source.

For example, if the user is trying to use the callable statement to call a stored procedure but the database does not support stored procedures, then the operation will fail and give this error.

To provide robust code, you should always work with the DatabaseMetaData to find out whether the operation you are trying to perform with your database specific classes is supported by the underlying database and have alternative mechanisms in place to carry out the desired operation.

If you know that the database supports the operation and you get this error, then change to a more robust JDBC driver.