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 use of statement in jdbc?
What are common JDBC Exceptions?
What is in terms of jdbc a datasource?
What is a datasource in java?
Why do you use a data source object for a connection?
What is jdbc in java?
What is url in jdbc connection?
Which jdbc driver type s is are the jdbc odbc bridge?
What are dml and ddl?
Does jdbctemplate close connection?
Which jdbc drivers will run your program?
How can I connect mysql or oracle with java?
What is jdbc odbc driver?
What are the different types of classes in the api component?
What are the advantages of using preparedstatement over statement?