what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / yash
In addition to above answers, using Class.forName the
instance of driver is automatically registered with the
DriverManager. Thus it saves us from the efforts of
creating new instance of driver and registering it with
DriverManager!!
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is in terms of jdbc a datasource?
What is odbc. how is it related to sql cli?
What do you mean by metadata and why we are using it?
List the advantages of using datasource?
How do java applications access the database using jdbc?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is jdbc and why is it required?
State the different connection methods used for creating different types of sql.
Can we have foreign key reference to a non primary key column ?
What is a statement in java?
What are the main components of JDBC ?
What is jdbc architecture in java?
What do you mean by odbc?
What happens if connection is not closed in jdbc?
Which jdbc driver type s is are the jdbc odbc bridge?