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 what this method do in JDBC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "what this method do in JDBC?" Watch "what this method do in JDBC?" New topic
Author

what this method do in JDBC?

harsh garg
Ranch Hand

Joined: Jul 13, 2008
Posts: 33
Class.forName()
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
See here: http://java.sun.com/javase/6/docs/api/java/lang/Class.html#forName(java.lang.String)


My Blog
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3859

It Returns the Class object associated with the class or interface with the given string name. Check the API of the Class. In JDBC this use to load the class of the JDBC driver class.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Please make your topicstart a bit more intriguing.

This is a really .. what´s the word? .. harsh topic.
Avyaya Avi
Greenhorn

Joined: Feb 04, 2009
Posts: 11
You need to refer and read the APIs at the least once when you start posting questions areound this forum.

Java Ranch is supposedly not an FAQ provider. Ranchers are supposed to help people stuck in some form or the other when coding comes.

If you need step by step instructions, then you better code once and before coding you read the basics of Java, JDBC once.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what this method do in JDBC?