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
How we store procedure in oralce for callable statements in jdbc
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
How to use JDBC to connect Microsoft Access?
How can I determine the isolation levels supported by my DBMS?
What is thin driver in jdbc?
What is a jdbc connection string?
Which is better jpa or jdbc?
How to move the cursor in scrollable resultset ?
Does sql allow null values ? Can we use it within where clause ?
What are the advantages of using preparedstatement in java?
What is the use of statement in jdbc?
What are common JDBC Exceptions?
Does jdbc use odbc?
What are four types of JDBC driver?
How can you make the connection using jdbc?