The moose likes JDBC and Relational Databases 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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Help Regarding Declaration Of Drivers" Watch "Help Regarding Declaration Of Drivers" New topic

Help Regarding Declaration Of Drivers

kiran mohan

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
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15100

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 8 API documentation
kiran mohan

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
I agree. Here's the link:
subject: Help Regarding Declaration Of Drivers
It's not a secret anymore!