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

Answer Posted / prabhakaran

Class is a predefined class and forName is the static
method of the class which is used to load the driver
dynamically in the client machine at runtime

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a merge field?

670


What is difference between statement and preparedstatement in jdbc?

646


Is java a database?

674


What are the new features added to JDBC 4.0?

700


What is isolation level? How to set it?

1845






How can we retrieve the file in the oracle database?

695


What is database deadlock ?

702


What are the measures to connect to the db using jdbc?

646


How do I find whether a parameter exists in the request object?

671


What is jdbc and jdbc drivers?

655


Explain the life cycle of jdbc.

789


Which jdbc driver type s is are the jdbc odbc bridge?

624


Is odbc an api?

703


How to move the cursor in scrollable resultset ?

760


What do you mean by batch processing in jdbc?

728