Explain the different ways to register a driver?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is database connection pooling? Advantages of using a connection pool?

530


When does the result for an sql statement return null?

510


State the different connection methods used for creating different types of sql.

494


How many rowset are available in jdbc?

653


How do I start debugging problems related to the JDBC API?

516






What is hbm xml?

487


Is not bound in this context unable to find jdbc spring boot?

491


Explain creation of statement object with connection method create method with help of an example.

517


Is jdbc database independent?

488


What is jdbc and its advantages?

494


What is an SQL Locator?

583


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

545


Why jdbc is used in java?

477


What is jdbc odbc connection?

501


What is thin driver in jdbc?

506