JDBC-Lecture 1
JDBC-Lecture 1
Oracle
MySQL
MS SQL Server
SQLite
PostgreSQL
IBM DB2
• It was released as a part of JDK 1.1 and was called JDBC 1.0.
Advantage:
Continued
JDBC-ODBC Bridge
Disadvantage:
Continued
Native Driver
• A type 2 JDBC driver is like a type 1 driver, except the ODBC part is
replaced with a native code part instead.
• The driver converts JDBC method calls into native calls of the
database native API.
Architecture
Native Driver
Advantage:
Continued
Native Driver
Disadvantage:
Continued
Network Driver
• A type 3 JDBC driver is an all Java driver that sends the JDBC
interface calls to an intermediate server.
Advantage:
Continued
Network Driver
Disadvantage:
Continued
Pure Java Driver
Continued
Architecture
Advantage And Disadvantage
ADVANTAGE:
Better performance
DISADVANTAGE: