What are pros and cons of using of Type-2 and Type-4
Drivers over Type-1 driver?
Answer Posted / chandrarekha
native API partly java driver(type-2 driver) doesn't have
the ODBC intermediate layer as the type 1 driver and the
native protocol pure java driver(type-4 driver) interacts
directly with the database(no native class libraries nor
driver as the intermediate layer) hence high perfomance
delivered compared to type-1 driver
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Give an example for execution of sql statement.
What is resultsetmetadata?
Explain the difference between resultset and rowset in jdbc
RowSetInternal caller and returns void. What can I do in the readData method?
What are database warnings in jdbc and how can we handle database warnings in jdbc?
How many ways can you update a result set?
How do I insert/update records with some of the columns having NULL value?
What are the flow statements of jdbc?
What is connection data?
What is the execute method in java?
How can we move the cursor in a scrollable result set?
Why “no suitable driver” error occurs?
What are the steps to connect to the database in java?
What is jdbc connection class?
Explain the life cycle of jdbc.