what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / sangeeta
Class is a predefined class and forName is the static
method of the class which is used to load the driver in the
memory for connectivity.
For eg
Class.forName("sun.jsbc.odbc.JdbcOdbcDriver");
Is This Answer Correct ? | 26 Yes | 1 No |
Post New Answer View All Answers
Is it possible to connect to multiple databases simultaneously?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is jdbc stand for?
How do I set properties for a JDBC driver and where are the properties stored?
What is the latest version of JDBC? What are the new features added in that?
Explain the life cycle of jdbc.
What is an advantage of using the jdbc connection pool?
What is xe in oracle jdbc url?
Where is jdbc used?
Explain the steps in writing a java program using jdbc?
How data can be inserted into long row column of database?
What are the factors that the jdbc driver performance depends upon?
What is JDBC PreparedStatement?
What is the meaning of “dirty read” in the database?
What are the advantages of using preparedstatement over statement?