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

What are the measures to connect to the db using jdbc?

1041


How to insert an image or raw data into database?

1001


Is jdbc faster than odbc?

918


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

1181


How many rowset are available in jdbc?

1116


What do you mean by database connection pooling?

954


Explain the difference between rowset vs. Resultset in jdbc?

1001


What is jdbc explain?

922


Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

1127


RowSetInternal caller and returns void. What can I do in the readData method?

981


How can I manage special characters when I execute an insert query?

945


How does jdbc driver work?

984


What is thin driver in jdbc?

1004


What does the connection object represents?

1063


How to set NULL values in JDBC PreparedStatement?

979