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 to check jdbc connection in java?
How does jdbc driver work?
How to rollback a JDBC transaction?
Which interface is responsible for transaction management in jdbc?
What happens if connection is not closed in jdbc?
Explain about the drive manager class working?
Is there another way of dealing with the result set that could execute faster?
How do I check in my code whether a maximum limit of database connections have been reached?
What is jsp and jdbc?
Explain the necessary steps to connect to the database in java?
What is db client?
What is the role of class.forname while loading drivers?
How do I know which jdbc driver to use?
What is JDBC Driver interface?
Is jdbc part of j2ee?