what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail

Answer Posted / devarathnam c,kotagudibanda(po

Hi... Actually whenever the JVM encounter the statement
Class.forName("Driver class name");The drivers will be
loading into the memory,then only the JVM will identify the
driver to process the database stuff.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start debugging problems related to the JDBC API?

510


What is jdbc and its advantages?

487


What is hbm xml?

474


Which is best database for java?

511


Is it possible to connect to multiple databases simultaneously?

540






Is jdbc a protocol?

490


How can we store the file in the oracle database?

504


What protocol does jdbc use?

499


Can we have foreign key reference to a non primary key column ?

518


What is the role of the jdbc drivermanager class?

474


How the JDBC application works?

521


What is jdbc architecture in java?

457


Is jdbc open source?

444


What is 2 phase commit?

551


When do we get java.sql.SQLException: No suitable driver found?

534