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

Answer Posted / anshu aggarwal

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 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.

Is This Answer Correct ?    49 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is metadata in programming?

607


What are the different types of JDBC drivers?

690


What does the jdbc resultsetmetadata interface?

628


What is resultsetmetadata?

570


What is metadata in java programming?

566






What is an odbc driver?

586


What is the difference between jdbc and odbc?

608


State the different connection methods used for creating different types of sql.

588


What is jdbc driver?

554


What is jdbc and explain jdbc architecture?

584


What is resultset?

634


What is odbc and jdbc in dbms?

612


Which database is used with java?

574


How vendor Naming registry supports JNDI?

1843


How can I get or redirect the log used by DriverManager and JDBC drivers?

593