Diagnosing Problems with the JDBC Driver

No matter how well an application is designed and developed, problems will inevitably occur. When they do, it is important to have some techniques for diagnosing those problems. When using the Microsoft SQL Server JDBC Driver, some common problems that can occur are not having the right driver version or being unable to connect to a database.

The topics in this section discuss a number of techniques for diagnosing these and other problems including error handling, checking the driver version, tracing, and troubleshooting connectivity issues.



Handling Errors

Describes how to handle errors that are returned from SQL Server.

Getting the Driver Version

Describes how to determine which version of the JDBC driver is installed.

Tracing Driver Operation

Describes how to enable tracing when using the JDBC driver.

Troubleshooting Connectivity

Describes how to troubleshoot database connectivity.