• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what this method do in JDBC?

 
harsh garg
Ranch Hand
Posts: 33
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class.forName()
 
Vinod K Singh
Ranch Hand
Posts: 198
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please make your topicstart a bit more intriguing.

This is a really .. what´s the word? .. harsh topic.
 
Avyaya Avi
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic