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 to insert an image or raw data into database?

948


How are jdbc statements used?

884


What is ojdbc?

897


What is the use of setFetchSize() and setMaxRows() methods in Statement?

937


Why do we use jdbc statements?

897


What is JDBC RowSet? What are different types of RowSet?

1021


Explain the importance of drivermanager.

1121


What is jndi lookup?

888


What is jdbc in dbms?

946


What is ojdbc14 jar?

853


What is resultset in jdbc with example?

863


Result set’s index starts with 0 or 1?

969


Why do we use jdbc in java?

970


What do you mean by database connection pooling?

888


any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.

2235