Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

configure Type 4 driver

 
Rakesh Mehra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know steps to configure Type 4 driver irect pure Java .
i have jdk1.5,eclipse 3.2,sqlserver'00,tomcat 4.1.x configured what steps i need to follow.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't much to configure beyond putting the jar file containing the driver in a place where your code can access it, like the WEB-INF/lib directory of your web app. What problem are you facing?
 
Rakesh Mehra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
There isn't much to configure beyond putting the jar file containing the driver in a place where your code can access it, like the WEB-INF/lib directory of your web app. What problem are you facing?


The problem i'm facing is i dont know steps to configure type 4 driver for any database.I have 3 databases installed on system mysqlserver,mysql,oracle and i want to configure type 4driver for them. Please let me know what .jar files i need to download and steps to be folowed.
aleast a sample code would be helpful.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can download the drivers from the respective DB vendors' web sites. Just search for "JDBC driver" on the site and it should lead you to the download section. The drivers should also come with instructions on how to use them. For type 4 drivers, there isn't more to it than adding the jar file to the classpath, and using the correct class name and connection string, both of which will be mentioned in the documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic