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
When does the result for an sql statement return null?
What are the advantages of using jdbc datasource?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
Is it possible to connect to multiple databases simultaneously?
How do I load a database driver with JDBC 4.0 / Java 6?
What is the query used to display all tables names in SQL Server (Query analyzer)?
Does jdbctemplate use prepared statements?
What is the difference between ojdbc6 and ojdbc7?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
Why do we use jdbc statements?
What are the exceptions in jdbc?
What does executeupdate return in java?
Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?
What is jdbc thin client in oracle?
Explain the locking system in jdbc & its types?