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 does the jdbc resultset interface?

517


What is jdbc driver for sql server?

526


What is metadata in java programming?

484


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

509


What are the different types of locking in JDBC?

558






What is meant by connection string?

545


What are jdbc?

536


Which jdbc driver type s is are the jdbc odbc bridge?

466


Prepared statements are faster. Why?

601


What is thin driver in jdbc?

500


What is layer in communication?

454


Is possible to open a connection to a database with exclusive mode with JDBC?

531


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

552


What is jdbc in dbms?

488


How do I receive a ResultSet from a stored procedure?

513