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 can we retrieve the file in the oracle database?
What is jdbc explain?
What is 2 phase commit?
What does the jdbc driver interface do?
What does executequery return in java?
What are common JDBC Exceptions?
What do you mean by two phase commits?
Give an example of code used for setting up connection with a driver.
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
Which Java and java.sql data types map to my specific database types?
How do I check in my code whether a maximum limit of database connections have been reached?
How MS-Access DB can be accessed over a network, using JDBC API?
What are the considerations for deciding on transaction boundaries?
Which database is used with java?
Which jdbc driver type s is are the jdbc odbc bridge?