what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / nitin upadhyay,raigarh(c.g)
By using this coding we load the driver.
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.jdbc.odbc.JdbcOdbcDriver");
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Explain the locking system in jdbc & its types?
Is there another way of dealing with the result set that could execute faster?
What is a jdbc driver and how many jdbc drivers are available?
Name different methods for getting streams.
Does JDBC support stored procedures?
What port does jdbc use?
What is the purpose of the jdbc resultset interface?
How to test jdbc connection to sql server?
How can we maintain the integrity of a database by using jdbc?
Define preparedstatement.
What is meant by jdbc?
How many jdbc driver types are there?
What are the benefits of PreparedStatement over Statement?
Where can I find info, frameworks and example source for writing a JDBC driver?
What is the fastest type of JDBC driver?