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 jdbc template?
What is meant by connection string?
How we store procedure in oralce for callable statements in jdbc
What are the jdbc api components?
How can you know about drivers and database information ?
password, is stored in as plain text. What can I do to protect my passwords?
How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?
Define preparedstatement.
What do you understand by jdbc datasource?
What is transaction processing in jdbc?
Explain the role of driver in jdbc.
What is the query used to display all tables names in SQL Server (Query analyzer)?
Differentiate between a statement and a preparedstatement.
What is drivermanager in jdbc?
How you restrict a user to cut and paste from the html page using java programing?