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 jdbc and jdbc drivers?
How to find total column from a resultset?
What are the three basic components of the odbc architecture?
PreparedStatement is a pre compiled statement but where it's pre compiled ?
What is the full form of jdbc and what is its purpose?
Explain the different ways to register a driver?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
What is statement and resultset in jdbc?
What is meant by a ResultSet?
How many isolation levels are supported in JDBC and what are they?
How can you retrieve data from the resultset using jdbc?
How can we move the cursor in a scrollable result set?