what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / girija shankar shadangi
this method creates object of driver class(which contains all he data like address of a driver and all the details of the driver)and registers the object to the JVM.it means making the object available to the jvm,so that jvm can use this object for its further operation internally.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between jdbc and jndi?
What is jdbc connection class?
Define preparedstatement.
Why would you use setautocommit(false) in jdbc?
What happens if connection is not closed in jdbc?
Is it possible to connect to multiple databases simultaneously?
Name the types of jdbc drivers.
Does sql allow null values ?
What is an odbc driver?
What are different parts of a url?
Write a program JDBCcode forfetching student database with SQL.
What is ojdbc?
How to test jdbc connection to sql server?
What are common JDBC Exceptions?
State the three different ways in which you can create a table?