• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC Basics

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic