wood burning stoves 2.0*
The moose likes JDBC 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
Bookmark "JDBC Basics" Watch "JDBC Basics" New topic
Author

JDBC Basics

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jun 01, 2000
Posts: 146
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

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.

Bye
Venu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Basics
 
Similar Threads
precompilation
This Weeks GiveAway:
Store Data in a file in psv(pipe seperated value) format
interfaces
PreparedStatements and precompiled?