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

Explain the two tier and three tier architecture of jdbc.

529


What are the considerations for deciding on transaction boundaries?

564


How vendor Naming registry supports JNDI?

1771


What does executequery return in java?

517


What are the differences between execute, executequery, and executeupdate?

492






What is meant by connection string?

560


What is createstatement method in java?

516


How you restrict a user to cut and paste from the html page using java programing?

485


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

546


How many types of JDBC Drivers are present and what are they?

510


What is the role of class.forname while loading drivers?

570


What is metadata in jdbc?

491


What are the conditions applies to varchar variable, when using in procedures?

1621


Can we return resultset in java?

480


Why would you use setautocommit(false) in jdbc?

670