File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how to use JDBC with mySQL and oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
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: 1321

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..
[Blog][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://aspose.com/file-tools
 
subject: how to use JDBC with mySQL and oracle
 
Similar Threads
Connecting To Database
how to start Oracle databse server
how to connect JDBC with oracle 9i
image uploading in jsp
connection of JDBC with oracle 9i database