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 |
Is jdbc and orm?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?
What is JDBC Connection? Explain steps to get Database connection in a simple java program.
What is the equivalent method for precompiled SQL Statement in JDBC?
What is resultsetmetadata?
Why we use jdbc instead of odbc?
Can we return resultset in java?
Explain the locking system in jdbc & its types?
What is <discriminator > in Hibernate? How exactly inheritance of Object to Tables can be done? What is the benefits of discriminator?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is a rollback in jdbc?
what is the current version of JDBC? and explain its features?