JDBC Programming

JDBC is Java's programming interface for universal data access, largely inspired by ODBC. Many JDBC calls have direct equivalents in ODBC. Although ODBC is designed for C and is a procedural interface, JDBC's architecture is object-oriented. Similar to ODBC, a good JDBC application should work with any DBMS vendor product using the same code because all JDBC drivers implement the interfaces in the java.sql and, optionally, the javax.sql packages.

Any well-architected interface for Java must be object-oriented, and JDBC is designed with this in mind. Different aspects of application-database interaction are maintained and controlled using Java objects, defined by classes that implement the JDBC interface specifications. JDBC drivers ...

Get DB2® Universal Database™ v8 Application Development Certification Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.