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 |
How do we call a stored procedure from jdbc?
How to connect html page to database using jdbc?
How to insert and delete a row programmatically? (new feature in JDBC 2.0)
What are the differences between stored procedure and functions?
Explain the locking system in jdbc & its types?
How to update a resultset programmatically?
What is JDBC Batch Processing and what are it’s benefits?
Why would you use setautocommit(false) in jdbc?
What are the advantages of using jdbc datasource?
What type of driver called is pure Java driver?
How do I find whether a parameter exists in the request object?
What are the types of statements in jdbc?