wood burning stoves 2.0*
The moose likes JDBC and the fly likes Help Regarding Declaration Of Drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Help Regarding Declaration Of Drivers" Watch "Help Regarding Declaration Of Drivers" New topic
Author

Help Regarding Declaration Of Drivers

kiran mohan
Greenhorn

Joined: Mar 16, 2005
Posts: 18
Hi Everybody,
I need some information Regarding how to declare Type 1 2 3 4 Drivers for Establishing a Connection using JDBC For ORACLE, SQL SERVER,and DB2.
Please send me a link otherwise where I could get the necessary information.

Thank You
Kiran
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

What do you mean with "declaring drivers"?

From the point of view of your Java application, there is no difference between the various driver types.

The driver you are using should come with documentation that explains what the JDBC URL should look like if you want to use that driver and what the name of the driver class is.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
kiran mohan
Greenhorn

Joined: Mar 16, 2005
Posts: 18
Hi Jesper,
Thanks for your post. The thing is that I wanna know the Connection String Used For Different Types of drivers for Different Databases in the
Class.forName("---------"); method. I hope You have got me and regarding the documentaion and the other stuff you have said , I don have any Documentation available with me right now and more over I don have much time to as I have to work on another Task right now.

Thank You
Take care
Kiran
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help Regarding Declaration Of Drivers
 
Similar Threads
JIT....?
Database connection
JDBC Drivers, Servers, and Vendors
DataBaseDrivers
hardware driver error detection and update available for drivers