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.
Joined: Mar 22, 2005
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.