what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / yash
In addition to above answers, using Class.forName the
instance of driver is automatically registered with the
DriverManager. Thus it saves us from the efforts of
creating new instance of driver and registering it with
DriverManager!!
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is jdbc drivers in java?
What are the exceptions in jdbc?
How many types of jdbc drivers are there?
Which is better jpa or jdbc?
What are jdbc?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
What is the feature of jdbc v4?
How can I determine the isolation levels supported by my DBMS?
What is use of connection pooling?
How can I create a custom RowSetMetaData object from scratch?
What is jdbc template?
What types of DataSource objects are specified in the Optional Package?
explain about special characters?
What are the new features available in jdbc 4.0?
What is JDBC DataSource and what are it’s benefits?