Advjava 2
Advjava 2
JDBC Drivers:
Convert SQL statements into a form that a particular database can interpret.
Retrieve the result of SQL statements and convert the result into equivalent
JDBC API class objects. Are of four types:
JDBC-ODBC Bridge driver
Confidential
by JDBC-API.
Further this Statement is handed over to the JDBC-ODBC Bridge driver which converts it to ODBC (Open Database Connectivity)
Confidential
Confidential
Disadvantages: Poor performance Overhead of converting JDBC query to ODBC query where as required
is SQL command
Depended on ODBC
Confidential
access databases.
Type 3 Driver maps the JDBC call to the native method calls, which are passed to the local native Call Level Interface (CLI).
Confidential
Confidential
Advantages: Better performance than Type 1 since no JDBC to ODBC translation is needed.
Confidential
Confidential
as middleware.
Java Application send the JDBC call to Client portion which convert JDBC calls to Database calls.
Confidential
Disadvantages: Requires database-specific coding to be done in the middle tier. An extra layer added may result in a time-bottleneck.
Confidential
Confidential
Confidential
Confidential