What is JDBC and ODBC and what are the differences between
them?

Answer Posted / srilatha

*ODBC is for microsoft & JDBC is for java applications

* ODBC can't be directly used with java because it uses a c
interface.

*ODBC makes use of pointers which have been
removed totally from java.

*ODBC is procedural-oriented & JDBC is Object-Oriented

*ODBC is used to provide connection between front-end and
back-end.JDBC is used to provide connection between java
and database.

*ODBC is language -independent&JDBC is language-dependent.

*ODBC mixes simple & advanced features together and has
complex options for simple queries.JDBC is designed to keep
things simple while allowing advanced capabilities when
required.

*ODBC requires manual installation of the ODBC driver
manager and driver on all client machines.JDBC drivers are
written in java and JDBC code is automatically
installable,secure and portable on all platforms.

Is This Answer Correct ?    38 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between setmaxrows(int) and setfetchsize(int)?

558


How to check jdbc connection in linux?

512


Are all the required JDBC drivers to establish connectivity to my database part of the JDK?

528


Does jdbctemplate use prepared statements?

511


What is drivermanager in jdbc?

538






What are the types of statements in jdbc?

524


What is the use of dialect?

564


What is com mysql jdbc driver?

498


What are types of resultset?

555


How many ways can you update a result set?

559


What is meant by jdbc and odbc?

485


What is the return type of class.forname() method?

546


How vendor Naming registry supports JNDI?

1763


What is 2 phase commit?

557


What do you mean by odbc?

546