Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use JDBC with mySQL and oracle  RSS feed

 
riyaz udeen
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java Doc would be your first place to playing around JDBC. JDBC Basic


and another article regarding Using JDBC with MySQL

hope it helps..
 
riyaz udeen
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks saifuddin.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!