What is Type-2 Driver and when this driver is used?
Answers were Sorted based on User's Feedback
Answer / guest
TYPE-2 driver is part java ,part native driver.This type of
driver uses a mixture of java implementation and native
access to database.This is similar to type-1 drivers except
there is one less layer to go through and this makes it
efficient over type-1 driver.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / chandrarekha
Native-API partly java driver is the type-2 driver..this
driver is useful for applications over a network where in
this driver uses native library classes to map the jdbc
calls to native method calls and these calls are sent to
call level interface(CLI)....the functions in CLI are
written in c
| Is This Answer Correct ? | 0 Yes | 0 No |
What does Class.forName return?
What is the exception thrown by JDBC ?
Explain about the Try Block?
What are the different types of statements? How we can you use preparedstatement.
What are cursor attributes?
How many packages are available in jdbc api?
How data can be inserted into long row column of database?
What are the differences between statement and preparedstatement interface?
How do I check in my code whether a maximum limit of database connections have been reached?
What is connection data?
What is a statement in java?
What are the different classes through which JDBC represents statements?