• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between different types of loading the drivers

 
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!