why are using type4 driver in realtime projects?

Answer Posted / dipanshu

We use type-4 driver in our project bcoz of the following reasons.

Type 4 Driver is a thin driver and it doesn't contain more layer like other (type-1 and type-2) drivers, it speed up the performance and moreover DB vendor library is automatically includes so explicitly our client application does not need to have DB vendor Library.

When we use type-4 driver to talk to Database then our JDBC code directly talks to the Database s/w without having the support of ODBC(like type-1) and DB Library(in type-1&type-2).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by connection string?

556


What is metadata in programming?

526


What is jdbc and jpa?

517


What is the JDBC syntax for using a literal or variable in a standard Statement?

559


How does a file store compare with a jdbc store?

633






What is the function of drivermanager class?

551


What is JDBC Statement?

564


What are the steps to connect to a database in java?

480


Why is jdbc needed?

511


What is the function of setautocommit?

648


Differentiate between a statement and a preparedstatement.

497


What are the standard isolation levels defined by JDBC?

571


What do you mean by database connection pooling?

516


What is jdbc stand for?

488


What are the different types of resultset?

548