Show TOC

Java Database ConnectivityLocate this document in the navigation structure

Java Database Connectivity (JDBC) is Sun's Java API that provides access to virtually any relational data source from within the Java programming language. It provides cross-DBMS connectivity to a wide range of SQL databases, and also provides access to other tabular data sources such as spreadsheets or flat files.  Sun maintains a database of JDBC-capable drivers that currently contains more than 170 entries. This shows that the API is widely supported in the market.

In the SDK, JDBC is regarded as the common Java standard API for accessing result sets.  JDBC is widely used and many Java developers are familiar with the ResultSet API.