A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
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
some confusions about jdbc...
Use of Class.forName()
A servlet code written to add details in database but not happening?
could not locate driver
use of Class.forName()?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015