JDBC is the equivalent of ODBC for Java program: it’s goal is to provide a common Java API for programs to manage multiple drivers and connect either by bridging to an ODBC connection or by utilizing other types of connections (such as native vendor libraries or pure Java connections), all of which have different pros and cons.