Explain the different ways to register a driver?
Answers were Sorted based on User's Feedback
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 |
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 |
What is while rs next ())?
Which type of driver provides jdbc access via one or more odbc drivers?
What is dburl?
What are collection pools?
What is JDBC API and when do we use it?
What are the Normalization Rules?
What is the use of statement in jdbc?
What is meant by connection string?
What are the steps to connect to the database in java?
What are JDBC statements?
How vendor Naming registry supports JNDI?
What are four types of JDBC driver?