Without using of Class.forName(? ?), how do you connect to
db?

Answer Posted / niranjanravi

through DriverManager.RegisterDriver

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlwarning?

560


Which interface is responsible for transaction management in jdbc?

465


What is a jdbc connection pool?

512


What is the limitation of PreparedStatement and how to overcome it?

642


How to check jdbc driver version in sql server?

486






Why isn't the java.sql.DriverManager class being found?

572


what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

4340


Why is jdbc needed?

517


If I use the JDBC API, do I have to use ODBC underneath?

609


What is a lock in jdbc?

545


What are the advantages of collection pools?

513


How does a custom RowSetReader get called from a CachedRowSet?

575


Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

570


What is sqlwarning and discuss the procedure of retrieving warnings?

560


What are database warnings in jdbc and how can we handle database warnings in jdbc?

616