top of page

Jdbc By | Durga Sir Updated

JDBC is a Java API that provides a standard way for Java programs to interact with relational databases. It acts as a bridge between the Java application and the database, enabling the exchange of data between the two. JDBC allows Java developers to write database-independent code, which means that the same Java code can be used to connect to different databases, such as MySQL, Oracle, or PostgreSQL, without requiring any modifications.

a) TYPE_FORWARD_ONLY, CONCUR_READ_ONLY b) TYPE_SCROLL_INSENSITIVE, CONCUR_UPDATABLE c) TYPE_SCROLL_SENSITIVE, CONCUR_READ_ONLY d) TYPE_FORWARD_ONLY, CONCUR_UPDATABLE jdbc by durga sir

// Close the connection conn.close(); catch (SQLException e) System.out.println("Error: " + e.getMessage()); JDBC is a Java API that provides a

Adv Java | JDBC Session - 12 ||JDBC API Part - 1 by Durga sir CONCUR_READ_ONLY b) TYPE_SCROLL_INSENSITIVE

a) Type 1 – JDBC-ODBC Bridge b) Type 2 – Native API Driver c) Type 3 – Network Protocol Driver d) Type 5 – RMI Driver

bottom of page