Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and Relational Databases 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
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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.
 
jQuery in Action, 3rd edition
 
subject: how to use JDBC with mySQL and oracle
 
jQuery in Action, 3rd edition