Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help Regarding Declaration Of Drivers

 
kiran mohan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kiran mohan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic