A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What is meant by LOADING DRIVER CLASS and RIGESTERING DRIVER CLASS
Joined: Jul 07, 2010
Jul 07, 2010 07:09:41
Directly i m coming to my doubt...
Class.forName("some vendor specific diverclass"); ----> this statement will load the corresponding driver class and in static block of driver class Registering code is present.
What is meant by LOADING DRIVER CLASS???
what is meant by Registering ???
and the DriverManager.getConnection("jdbc:---","--"," -- "); --> this vl return the object of a class which is implementing Connection interface...
Where that Connection interface implemented class is present?? is it present in Driver class which was loaded previously??
Please give me Clear Explanation in
and which comes first and which next???
Joined: Dec 20, 2006
Jul 08, 2010 07:22:23
Welcome to JavaRanch, Avinash.
OCUP UML fundamental and ITIL foundation
I agree. Here's the link:
subject: What is meant by LOADING DRIVER CLASS and RIGESTERING DRIVER CLASS
could not locate driver
use of Class.forName()?
Use of Class.forName()
some confusions about jdbc...
A servlet code written to add details in database but not happening?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013