This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes difference between different types of loading the drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "difference between different types of loading the drivers" Watch "difference between different types of loading the drivers" New topic
Author

difference between different types of loading the drivers

kandula chandrasekhararao
Greenhorn

Joined: May 16, 2003
Posts: 7
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

Joined: Oct 15, 2002
Posts: 189
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.


Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
 
GeeCON Prague 2014
 
subject: difference between different types of loading the drivers