Which driver is efficient and always preferable for using JDBC applications?

Options
- Type – 4
- Type – 1
- Type – 3
- Type – 2


CORRECT ANSWER : Type – 4

Discussion Board
Preference to Type-4

Type 4 Driver is a Database-Protocol Driver(Pure Java Driver). Its implementation allows the conversion of JDBC calls directly into a vendor-specific database protocol. They are installed inside JVM or Java Virtual Machine on the client side system. It is better in performance than type 1 and type 2 drivers as it does not have the overhead of conversion of calls into ODBC or database API calls. It doesn't require to be associated with the software to work. The advantage of type-4 is that it gets completely implemented in Java to achieve platform independence.

Rohit Sharma 09-15-2014 10:56 PM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement