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 meant by connection string?
Does the JDBC-ODBC Bridge work with Microsoft J++?
What are the advantages of using preparedstatement in java?
What are the standard isolation levels defined by JDBC?
How we store procedure in oralce for callable statements in jdbc
Compare jdbc and odbc and how is jdbc required in this context.
State the different connection methods used for creating different types of sql.
Does jdbc require oracle client?
What is the exception thrown by JDBC ?
What are the methods which can verify the cursor particular position?
Give a way to check that all result sets have bin accessed and update counts are generated by execute method.
Which Java and java.sql data types map to my specific database types?