JDBC
JDBC
The Java Database Connectivity (JDBC) API is the industry standard for database-
independent connectivity between the Java programming language and a wide range of
databases SQL databases and other tabular data sources, such as spreadsheets or flat files.
The JDBC API provides a call-level API for SQL-based database access.
With a JDBC technology-enabled driver, you can connect all corporate data even in a
heterogeneous environment.
JDBC Architecture
The JDBC API contains two major sets of interfaces: the first is the JDBC API for
application writers, and the second is the lower-level JDBC driver API for driver writers.
JDBC technology drivers fit into one of four categories. Applications and applets can access
databases via the JDBC API using pur
The graphic below illustrates JDBC connectivity using ODBC drivers and existing database
client libraries.
Left side, Type 1: JDBC-ODBC Bridge plus ODBC Driver
This combination provides JDBC access via ODBC drivers. ODBC binary code -- and in
many cases, database client code -- must be loaded on each client machine that uses a JDBC-
ODBC Bridge. Sun provides a JDBC-ODBC Bridge driver, which is appropriate for
experimental use and for situations in which no other driver is available.