Hi friends, In JDBC 4 drivers are there among this which
driver is best and why it is best.Which driver is most
commonly used in web applications.

Answer Posted / rajesh

Type 4 Driver will be the best driver.Because the java
application will directly interacts with database without
middlewares. We want a jar file to connect directly(i.e
mysql connector jar file for mysql,ojdbc.jar to pracle
database).

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is JDBC Connection? Explain steps to get Database connection in a simple java program.

628


What is the use of JDBC DriverManager class?

568


What port does jdbc use?

507


What is correlated subquery?

1757


What is jdbc and jpa?

527






There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

628


What is com mysql jdbc driver?

510


Explain some new features available in jdbc 4.0?

619


Why would you use setautocommit(false) in jdbc?

678


What is jdbc connection string?

520


What is a JDBC 2.0 DataSource?

574


What is benefit of using preparedstatement in java?

507


How vendor Naming registry supports JNDI?

1779


What is layer in communication?

478


What is the meaning of batch updates?

580