Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic