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 will you perform truncation using JDBC?

579


What are common JDBC Exceptions?

550


What is DML?

577


Why do we use jdbc in java?

548


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

515






What is the role of class.forname while loading drivers?

567


How we store procedure in oralce for callable statements in jdbc

1852


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

536


Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

567


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

507


What is JDBC Driver interface?

578


Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?

575


How do we call a stored procedure from jdbc?

557


What is sqlwarning and discuss the procedure of retrieving warnings?

556


How can we retrieve data from the resultset?

553