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 / nitin upadhyay,raigarh(c.g)

By using this coding we load the driver.
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.jdbc.odbc.JdbcOdbcDriver");

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the life cycle of jdbc.

982


What is a jdbc connection?

834


Does jdbc require oracle client?

889


What is the difference between ojdbc6 and ojdbc7?

815


What is correlated subquery?

2230


What does executeupdate return in java?

959


What do you mean by two phase commits?

987


What are the steps to connect to the database in java?

910


What is jdbc driver?

857


What does the jdbc resultset interface?

919


What are the flow statements of jdbc?

948


Write an sql to find all records having all numeric characters in a field ?

907


What is JDBC DataSource and what are it’s benefits?

1101


Can I use JDBC to execute non-standard features that my DBMS provides?

930


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

950