Comparing JDBC and ODBC

JDBC may sound familiar to you if you've worked with ODBC. ODBC, or Open Database Connectivity, is a Microsoft standard API that provides access to a multitude of existing databases. Like ODBC, JDBC is based on the X/Open SQL Call Level Interface (X/Open SQL CLI). However, ODBC is a C or C++ API, using a lot of pointers, and it is mostly Microsoft Windows-platform specific. In contrast, JDBC is a pure Java API and it works on any platform running the Java Virtual Machine (JVM). JDBC is also an object-oriented API, so it is easier to learn and implement than the ODBC API.

Get JavaBeans Unleashed 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.