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

Answer Posted / manjesh

ODBC is open database connectivity. The goal of ODBC is to
make it possible to access any data from any application,
regardless of which database management system (DBMS) is
handling the data so it is language independent


JDBC is Java Database Connectivity. It enables java programs
to execute sql statements. JDBC makes it possible to write a
single database application that can run on different
platforms and interact with different DBMS. JDBC is language
dependent i.e it is used only to make connectivity with
java.

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

Is This Answer Correct ?    37 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three basic components of the odbc architecture?

541


What is the use of jdbc api?

588


What do you understand by jdbc statements?

598


What is the major difference between java.util.date and java.sql.date data type?

564


What is jdbc and its types?

569






If you are truncated using JDBC, how can you that how much data is truncated?

656


What is the limitation of PreparedStatement and how to overcome it?

717


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

619


In which ways is driver class is registered with drive manager?

611


How do we call a stored procedure from jdbc?

626


What are dml and ddl?

620


what happen if we set JDBC string to NULL?

3035


What is the meaning of connection?

628


Can we return resultset in java?

562


What does jdbc do?

604