How does JDBC differ from ODBC?

Answer Posted / imtiyaz

ODBC is a layer which is designed to communicate with
different databases. when we give a command to odbc it
talks with the specific database in its language we need
not to worry about the database what we are communicating
Thats why it is called Opend Data Base Connectivity

JDBC is layer and it is having its own API which is having
the commands to communicate with database.

when we JDBCODBC Driver, this will take care of sending the
java commands which can understand by ODBC.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jdbc and its types?

496


What are the differences between statement and preparedstatement interface?

516


What is a jdbc connection string?

464


What are the differences between stored procedure and functions?

474


What is jdbc oracle thin?

476






What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

477


How do I insert/update records with some of the columns having NULL value?

510


What is isolation level? How to set it?

1637


Describe the steps needed to execute a sql query using jdbc.

546


What is jdbc odbc bridge?

503


Does jpa use jdbc?

489


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

519


What is difference between statement and preparedstatement in jdbc?

467


What is db client?

494


What are JDBC Best Practices?

551