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 are the advantages of JDBC?
How do you debug PL/SQL code?
What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................
What is the difference between jdbc and odbc?
signature of init method?
Explain about the drive manager class working?
What is the difference between execute, executeQuery, executeUpdate?
How to store images in database?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
What are the different types of interfaces in the api component?
What is Type-4 Driver and when this driver is used?
How can we retrieve data from the resultset?