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
What is the purpose of jdbc?
What does setautocommit do?
What happens if connection is not closed in jdbc?
What are the different types of statements? How we can you use preparedstatement.
Discuss the significances of jdbc.
How java can be connected to a database?
What are types of jdbc drivers?
How many ways can you update a result set?
What is metadata in jdbc?
Describe odbc?
What is a rollback in jdbc?
What is the full form of jdbc?
How can we store the file in the oracle database?
What is an encrypted internet connection?
Explain the process of creating tables using NetBeans IDE?