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 are design patterns?
JDBC Drivers properties?
What are the steps to connect to a database in java?
What are the main steps in java to make JDBC connectivity?
What are the steps to connect to the database in java?
How do find debugging problems related to JDBC API?
What are the Normalization Rules?
How do I receive a ResultSet from a stored procedure?
how can we get the metaData (columnNames) from a table which has no Records..
Is jdbc a framework?
What are different parts of a url?
Name the method, which is used to prepare a callablestatement.