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

What is the difference between ojdbc6 and ojdbc7?

607


What are the methods which can verify the cursor particular position?

733


What are the advantages of collection pools?

696


What is the difference between executing, executequery, executeupdate in jdbc?

723


What are the common tasks of JDBC?

718






Can resultset be null in java?

655


Does the JDBC-ODBC Bridge work with Microsoft J++?

2033


What is statement and preparedstatement in java?

630


What is JDBC Savepoint? How to use it?

828


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

665


What is batch processing and how to perform batch processing in jdbc?

669


How vendor Naming registry supports JNDI?

1922


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

758


Which is better odbc or jdbc?

645


Why are we using blob datatypes in jdbc?

720