• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Basics

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
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.
Thanks
Prasad
 
Milind Kulkarni
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prasad,
Check out the JDBC docs here:
http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/GettingStartedTOC.fm.html
Regards,
Milind
 
softie
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bye
Venu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic