Answer Posted / prashant
Class.forNmae first loads the class in current classLoader so as to use that in future. Internally DriverManager gets the reference of the driver by using dynamic laoding (nothing is magical) this is is the reason when you say manager.GetConnection() it returns connection using the loaded driver
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Are all the required JDBC drivers to establish connectivity to my database part of the JDK?
What are the 4 types of jdbc drivers?
Does jdbc require oracle client?
What do you understand by jdbc statements?
Explain the various types of locking system in jdbc?
What is a merge field?
What are the differences between resultset and rowset?
What class.forname does, while loading the drivers?
What is JDBC Connection isolation levels?
Why do we use jdbc in java?
What do you understand by jdbc driver and explain its types?
Explain the steps in writing a java program using jdbc?
How can I manage special characters when I execute an insert query?
What is metadata in jdbc?
What are the higher level apis under development on top of jdbc currently?