JDBC (Java DataBase Connectivity)


JDBC is a database connectivity specification.

It is a Java API that enables Java programs to execute SQL statements. It 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 (Open Database Connectivity), 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. JDBC has four main components as under and with the help of these components Java application can connect with database:
Review: JDBC Components
    Which component is NOT included in JDBC for helping Java applications connect with databases?

      JDBC API
      JDBC listener
      JDBC test suite
      JDBC-ODBC bridge
        Result:




      Her jokes totally fell flat, she’s definitely not playing with a full deck.