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 a statement?
What are the types of statements in jdbc?
How can I determine where a given table is referenced via foreign keys?
Can you create an index on sex column where there is M or F?
What are the different types of interfaces in the api component?
Which interface is responsible for transaction management in jdbc?
Which jdbc driver is the fastest driver?
What are the common tasks of JDBC?
What is jdbc and jdbc drivers?
How can we maintain the integrity of a database by using jdbc?
What is a rollback in jdbc?
What is static Synchronized method in JDBC API? Give an example?
3 Answers 3 Edge Solutions, R Systems, Sirvisetti Global Services,