This week's book giveaway is in the Design forum.
We're giving away four copies of Mastering Non-Functional Requirements and have Sameer Paradkar on-line!
See this thread for details.
Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between different types of loading the drivers  RSS feed

 
kandula chandrasekhararao
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
what is the difference between these two types of loading the drivers
Class.forName()
DriverManager.registerDriver()
by command prompt
Class.forName().newInstance()
 
Philip Shanks
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you show isn't really two different ways to load a driver. I suggest that you visit this JDBC tutorial for pointers to get started.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!