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

Is jpa faster than jdbc?

586


What is the execute method in java?

625


How many types of statements are there in jdbc?

565


How to use JDBC API to call Stored Procedures?

631


How to use JDBC to connect Microsoft Access?

670






What is encrypted connection?

607


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

683


What is an escape syntax?

610


What are temp tables ?

612


How the JDBC application works?

611


How does jdbc driver work?

605


How MS-Access DB can be accessed over a network, using JDBC API?

2085


What is resultset in jdbc with example?

569


What are the differences between resultset and rowset?

599


What is jdbc drivers in java?

568