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...


Explain the different ways to register a driver?

Answers were Sorted based on User's Feedback



Explain the different ways to register a driver?..

Answer / bhoopesh alladi

By using the DriverManager.registerDriver() method , and
while loading of the driver and registering the driver
within a single method execution, that is

Class.forName(String DriverName)

Is This Answer Correct ?    3 Yes 0 No

Explain the different ways to register a driver?..

Answer / chandrarekha

loading a driver can be done manually by Class.forName
(....) and DriverManager.registerDriver(...) and also
programatically by
java -Djdbc.drivers=sun.jdbc.odbc.jdbc.... <.java filename>

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JDBC Interview Questions

Why we use jdbc instead of odbc?

0 Answers  


Give steps to connect to the db using jdbc?

0 Answers  


What are the three parts of a jdbc url?

0 Answers  


How do I stop nullpointerexception?

0 Answers  


HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx

5 Answers  


What does the jdbc resultset interface?

0 Answers  


Is it possible to connect to multiple databases simultaneously?

0 Answers  


What is jdbc servlet?

0 Answers  


What are pros and cons of using of Type-2 and Type-4 Drivers over Type-1 driver?

4 Answers   IBM,


I have getting problem to calling stored procedure from Mysql through JSP. Please help me.

1 Answers  


Why isn't the java.sql.DriverManager class being found?

0 Answers  


Under what circumstances, that all four drivers are used?

0 Answers   TCS,


Categories