What are pros and cons of using of Type-2 and Type-4
Drivers over Type-1 driver?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / eswar
Type1 driver is bridge driver which is not written in java.
So it is not Platform Independent. we canot use this for
mulitple purpose It will stick to one OS thats y it is used
only for practical purpose....
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sujit kumar panda
type1 driver is platform depandent where type2 & type4 are
platform independent.also type1 driver is a thin driver
means it can handle very few request form client at time
but type 2 is a fat driver which is generally used in
banking solution for handling large numbers of request form
client.
| Is This Answer Correct ? | 1 Yes | 0 No |
How do I find ojdbc jar version?
What are the three parts of a jdbc url?
How can you tune SQL statements?
What is connection pooling? What Method and class used for Connection pooling in Java?
Is jdbc open source?
What are pros and cons of using of Type-2 and Type-4 Drivers over Type-1 driver?
What is database null and Java null?
What is the latest version of JDBC? What new features are added?
What is correlated subquery?
0 Answers emc2, JK Technosoft,
Explain the importance of drivermanager.
How do I set properties for a JDBC driver and where are the properties stored?
What does Class.forName return?