Slide 11.21: The SQL functions
Slide 12.2: A sample JDBC program
Home

JDBC (Java DataBase Connectivity)


JDBC is JavaSoft's database connectivity specification. It is a Java API that enables Java programs to execute SQL statements. This allows Java programs to interact with any SQL-compliant database. Since JDBC makes it possible to write a single database application that can run on different platforms and interact with different DBMSs.


JDBC is similar to ODBC, but is designed specifically for Java programs, whereas ODBC is language-independent. It creates a programming-level interface for communicating with databases in a uniform manner. It is based on X/Open SQL Call Level Interface, the same as for ODBC.