Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 8040
Total Votes: 150 votes
Average Rating: 2.81 out of 5
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.