Java Database Connectivity (JDBC)

Definition of Java Database Connectivity (JDBC) in The Network Encyclopedia.

What is JDBC (Java Database Connectivity)?

A standard Structured Query Language (SQL) data access interface developed by Sun Microsystems that allows Java applications to access databases. Java Database Connectivity (JDBC) is based on open database connectivity (ODBC) and is used with the Java programming language.

The JDBC application programming interface (API) is a standard component of Java 2.0 Platform.

How it works

The JDBC API specifies a set of Java classes that represent database connections, SQL queries and their result sets, and other objects associated with accessing databases. Multiple drivers for JDBC exist that allow access to different database formats, and the JDBC drivers themselves can be implemented either within applets or as native methods on the operating system.

JDBC also supports drivers that act as a bridge between ODBC and JDBC. This type of driver translates JDBC function calls into native ODBC calls, but this bridge cannot be run by untrusted applets within a Web browser environment.