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
How do I start debugging problems related to the JDBC API?
What are the factors that the jdbc driver performance depends upon?
What are the differences between setmaxrows(int) and setfetchsize(int)?
Where jdbc drivermanager class is used?
Explain how to make updates to the updatable resultsets.
Explain the locking system in jdbc & its types?
What is the difference between executing, executequery, executeupdate in jdbc?
Why do we need jdbc driver?
State the three different ways in which you can create a table?
How to use JDBC API to call Stored Procedures?
What are the jdbc drivers in java?
What are the differences between resultset and rowset?
How to check jdbc driver version in websphere?
What is jdbc connection string?
How java can be connected to a database?