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 |
Does the JDBC-ODBC Bridge work with Microsoft J++?
What is jdbc driver manager?
Is it possible to connect to multiple databases simultaneously?
What is encrypted connection?
How to check jdbc driver version in websphere?
Which package is used for jdbc application?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
How do I insert an image file (or other raw data) into a database?
Does JDBC support stored procedures?
What are the different types of 2 tier and 3 tier architecture ?
Is jdbc a web technology?
What are the basic exceptions in jdbc?