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

Give an example for getXXX method?

555


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

467


Why isn't the java.sql.DriverManager class being found?

564


What are the common tasks of JDBC?

564


Write a program JDBCcode forfetching student database with SQL.

577






How to get the Database server details in java program?

571


Explain the role of driver in jdbc.

563


What is JDBC RowSet? What are different types of RowSet?

546


What is batch processing and how to perform batch processing in jdbc?

509


What is a jdbc url?

461


What is meant by connection string?

556


What is the use of jdbc?

560


The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

1664


What are four types of JDBC driver?

568


What are the jdbc statements?

558