Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / sangeeta

Class is a predefined class and forName is the static
method of the class which is used to load the driver in the
memory for connectivity.

For eg
Class.forName("sun.jsbc.odbc.JdbcOdbcDriver");

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of setautocommit?

1240


What is difference between jdbc and odbc?

1014


What is jdbc odbc bridge?

951


Give an example for execution of sql statement.

1042


What is jdbc databasemetadata interface?

1055


What is jdbc and odbc?

936


Explain the locking system in jdbc & its types?

992


Explain the steps in writing a java program using jdbc?

947


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?

976


What is metadata in jdbc?

1005


If I use the JDBC API, do I have to use ODBC underneath?

1039


What is savepoint in jdbc?

913


Is jpa faster than jdbc?

887


What class.forname does, while loading the drivers?

970


Compare jdbc and odbc and how is jdbc required in this context.

938