what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / girija shankar shadangi
this method creates object of driver class(which contains all he data like address of a driver and all the details of the driver)and registers the object to the JVM.it means making the object available to the jvm,so that jvm can use this object for its further operation internally.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is a jdbc connection?
State the three different ways in which you can create a table?
RowSetInternal caller and returns void. What can I do in the readData method?
If you are truncated using JDBC, how can you that how much data is truncated?
How many locking systems are there in jdbc?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is xe in oracle jdbc url?
What is Apache DBCP API?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
How to insert an image or raw data into database?
What are the jdbc api components?
Explain the role of driver in jdbc.
Why do we use jdbc statements?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
What is use of connection pooling?