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
Explain how to make updates to the updatable resultsets.
What is jdbc connection?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
Differentiate between a statement and a preparedstatement.
What are different types of ResultSet?
What is a jdbctemplate?
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
What is an encrypted internet connection?
What is an odbc driver?
What are the main components of JDBC ?
What is the return type of class.forname() method?
Why do we use jdbc statements?
Describe how the jdbc application works.
What are clob and blob data types in jdbc?
What is the feature of jdbc v4?