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
Explain creation of statement object with connection method create method with help of an example.
What are the advantages of database connection pooling?
Give an example of code used for setting up connection with a driver.
How do I insert/update records with some of the columns having NULL value?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What is execute in java?
Explain the role of driver in jdbc.
Explain some new features available in jdbc 4.0?
Does sql allow null values ? Can we use it within where clause ?
What are the jdbc statements?
Explain the main method?
What is the different between ResultSet and RowSet?
What are the considerations for deciding on transaction boundaries?
What is jdbc architecture in java?
What is jdbc and odbc in java?