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 a java driver?

510


What is difference between statement and preparedstatement in jdbc?

476


What do you understand by jdbc datasource?

607


Are all the required JDBC drivers to establish connectivity to my database part of the JDK?

540


What is the meaning of “dirty read” in the database?

572






Why would you use setautocommit(false) in jdbc?

676


Which type of JDBC driver is the fastest one?

582


How does jdbc work?

513


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

522


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

553


How can I write to the log used by DriverManager and JDBC drivers?

530


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

545


What are the steps involved in establishing a connection using jdbc in java?

533


Explain the JDBC Architecture?

578


What are the differences between stored procedure and functions?

485