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 locking system in jdbc & its types?

980


Is there another way of dealing with the result set that could execute faster?

1006


What is a jdbc driver and how many jdbc drivers are available?

1050


Name different methods for getting streams.

983


Does JDBC support stored procedures?

998


What port does jdbc use?

968


What is the purpose of the jdbc resultset interface?

911


How to test jdbc connection to sql server?

1020


How can we maintain the integrity of a database by using jdbc?

1074


Define preparedstatement.

985


What is meant by jdbc?

925


How many jdbc driver types are there?

922


What are the benefits of PreparedStatement over Statement?

1006


Where can I find info, frameworks and example source for writing a JDBC driver?

931


What is the fastest type of JDBC driver?

1059