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 two-phase commit in the database?
List the common jdbc exceptions ?
List some new features available in jdbc 4.0?
What is jdbc odbc in java?
What is resultset?
What is a connection string used for?
What is jdbc and its advantages?
How do I disallow NULL values in a table?
What types of DataSource objects are specified in the Optional Package?
Explain about the drive manager class working?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?
What is the feature of jdbc v4?
Which Java and java.sql data types map to my specific database types?
What is jdbc odbc?
Which type of driver provides jdbc access via one or more odbc drivers?