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 jbbc - sql 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 "jbbc - sql" Watch "jbbc - sql" New topic

jbbc - sql

karai baskar

Joined: Nov 29, 2000
Posts: 17
helo friends,
i want to know the driver path to connect with sql database
using jdbc.let me know both the dsn and dsnless connection
driver any special driver classes i need?
do i have to set any classpath for that.
please help me in this
thank you for all
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
To use an existing ODBC connection, you need to use the jdbc-odbc bridge included in Sun's jdk. To use JDBC to connect to a database, you will need to find a JDBC driver for that db. Oracle, Informix, Interbase and DB2 all have JDBC drivers available. They also will have documentation on how to use the driver.
Here is a tutorial from Sun on basic JDBC:
Here is Sun's JDBC documentation page:
Each vendor should provide documentation for their driver because the names of classes are different.
Hope this helps.
I agree. Here's the link:
subject: jbbc - sql
It's not a secret anymore!