• Post Reply Bookmark Topic Watch Topic
  • New Topic

what this method do in JDBC?  RSS feed

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Class.forName()
 
Bartender
Posts: 4012
42
Chrome Fedora Hibernate
  • 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.
 
Ranch Hand
Posts: 2458
  • 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.
 
Greenhorn
Posts: 11
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!