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
Is jdbc secure?
Is not bound in this context unable to find jdbc spring boot?
What is represented by the connection object?
Explain the role of driver in jdbc.
What is the return type of class.forname() method?
Explain the difference between resultset and rowset in jdbc
How do I connect to jdbc?
What are the steps to connect to a database in java?
What is the meaning of connection?
Is possible to open a connection to a database with exclusive mode with JDBC?
What are the ddl statements?
How do I insert an image file (or other raw data) into a database?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
What do you understand by jdbc statements?
How many categories of jdbc drivers are there?