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

How to use JDBC API to call Stored Procedures?

545


Explain the two tier and three tier architecture of jdbc.

517


What are the different types of classes in the api component?

526


What are the different types of JDBC drivers?

611


What is JDBC Connection isolation levels?

535






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

490


What is jdbc thin client in oracle?

486


Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.

515


What does the jdbc resultset interface?

523


How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?

583


Explain the process of creating tables using NetBeans IDE?

518


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

555


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

512


Define preparedstatement.

527


What are the packages are used in jdbc?

564