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 |
Is jpa faster than jdbc?
Is there any limitation for no of statments executed with in batchupdate?
What are the jdbc api components?
Why are we using blob datatypes in jdbc?
What is an encrypted internet connection?
How to find that, a row is updated or not?
Why do we need jdbc driver?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is the meaning of connection?
What is the meaning of “dirty read” in the database?
What is an SQL Locator?
What is difference between jdbc and odbc?