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


Please Help Members By Posting Answers For Below Questions

What is a jdbc connection?

474


State the three different ways in which you can create a table?

522


RowSetInternal caller and returns void. What can I do in the readData method?

557


If you are truncated using JDBC, how can you that how much data is truncated?

590


How many locking systems are there in jdbc?

559






What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

506


What is xe in oracle jdbc url?

544


What is Apache DBCP API?

592


any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.

1851


How to insert an image or raw data into database?

556


What are the jdbc api components?

657


Explain the role of driver in jdbc.

567


Why do we use jdbc statements?

509


What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?

495


What is use of connection pooling?

525