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 the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
Is jdbc and orm?
What is jdbc and why is it required?
How can we disable a constraint ?
Why are we using blob datatypes in jdbc?
What are the considerations for deciding on transaction boundaries?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
How can we retrieve the file in the oracle database?
What is the return type of execute, executequery and executeupdate?
What is ojdbc14 jar?
What do you mean by metadata and why we are using it?
Define preparedstatement.
How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?
explain about special characters?