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 does Class.forName return?

Answer Posted / prashant

Class.forNmae first loads the class in current classLoader so as to use that in future. Internally DriverManager gets the reference of the driver by using dynamic laoding (nothing is magical) this is is the reason when you say manager.GetConnection() it returns connection using the loaded driver

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start debugging problems related to the JDBC API?

1022


What are the factors that the jdbc driver performance depends upon?

970


What are the differences between setmaxrows(int) and setfetchsize(int)?

1063


Where jdbc drivermanager class is used?

959


Explain how to make updates to the updatable resultsets.

918


Explain the locking system in jdbc & its types?

975


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

1004


Why do we need jdbc driver?

889


State the three different ways in which you can create a table?

980


How to use JDBC API to call Stored Procedures?

1014


What are the jdbc drivers in java?

1064


What are the differences between resultset and rowset?

1125


How to check jdbc driver version in websphere?

1085


What is jdbc connection string?

999


How java can be connected to a database?

1096