File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes JDBC Basics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC Basics" Watch "JDBC Basics" New topic

JDBC Basics

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I want some answers to a few basic questions:
1. what is a type 3 driver?
2. What is the difference betn ODBS and JDBC. Why do we need JdBC
if we already have ODBC.
Milind Kulkarni
Ranch Hand

Joined: Jun 01, 2000
Posts: 146
Hi Prasad,
Check out the JDBC docs here:
Ranch Hand

Joined: Aug 29, 2000
Posts: 41
Hi Prasad,
There are four types of drivers.
1. JDBC - ODBC Bridge..
The Java language uses the already existing ODBC connection and thru the JDBC-ODBC bridge u can access the database and then open the connection.
2. Native API on basis
This type of driver converts the java commands to the client specific SQL commands and then you can open the connection.
3. JDBC Net
This is pure java.
4. Native API pure java
This is the native java method and is system independent.

I agree. Here's the link:
subject: JDBC Basics
jQuery in Action, 3rd edition