Jdbc Driver in simple words
Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 6903
Total Votes: 144 votes
Submitted on: 2013-12-09 05:27:59
Submitted By: Java Hungry
Description:Before Discussing in detail about the type of Jdbc-driver . We need to first understand the meaning of term Driver .
So , What is Driver ?
The concept is that a Driver should be a one point contact for all interactions between your Java App. and the DB.
This is the core concept of JDBC
The various types of JDBC Drivers are based on the WAY the above contract level agreement (shown in the image) is IMPLEMENTED by various coders.
That means , the JDBC specification given by the JCP team only defines the various interfaces, termed as JDBC API . It is up to the coders/developers/implementers who can implement those interfaces, in their own ways.
Based on the ways followed, we can classify them into four types.
JDBC Driver – Type 1 (JDBC ODBC Bridge)
This is an approach wherein the implemented class in Java makes calls to the code written in Microsoft languages (native), which speaks directly to the database. More detail...