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
How we can you use preparedstatement.
What is meant by dao?
How does a custom RowSetReader get called from a CachedRowSet?
What is an escape syntax?
What do you understand by jdbc driver and explain its types?
What is jdbc connection?
What is correlated subquery?
Explain jdbc savepoint?
What is the full form of jdbc and what is its purpose?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
Explain in detail about JDBC and its general features?
What is the role of jdbc drivermanager class?
Does JDBC support stored procedures?
Does jdbctemplate close connection?
How to check jdbc connection in java?