This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes how to use JDBC with mySQL and oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "how to use JDBC with mySQL and oracle" Watch "how to use JDBC with mySQL and oracle" New topic
Author

how to use JDBC with mySQL and oracle

riyaz udeen
Ranch Hand

Joined: Sep 11, 2005
Posts: 66
Dear brothers and sisters , i want to know how to use jdbc with mySQL 4.1 and oracle 9i,9.0,8. I need what are the things to be filled in the place of '?' for mysql 4.1, oracle 9i,9.0,8i.

Class.forName("???");
DriverManager.getConnection("???");

moreover there are connector.jar files for oracle and mysql. so where we have to place them under which directory.

Thanks in advance.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1318

Java Doc would be your first place to playing around JDBC. JDBC Basic


and another article regarding Using JDBC with MySQL

hope it helps..


Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
riyaz udeen
Ranch Hand

Joined: Sep 11, 2005
Posts: 66
thanks saifuddin.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to use JDBC with mySQL and oracle
 
Similar Threads
Connecting To Database
how to start Oracle databse server
image uploading in jsp
how to connect JDBC with oracle 9i
connection of JDBC with oracle 9i database