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

Answer Posted / pradeep kumar

1. ODBC is procedural oriented and JDBC is object oriented.
2. ODBC is used to provide connection between front-end
(other than JAVA) and back-end (weak database like MS-
ACCESS) and JDBC is used to provide connection between JAVA
and database(oracle,sybase,DB2).

Is This Answer Correct ?    66 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which Java and java.sql data types map to my specific database types?

542


How do java applications access the database using jdbc?

536


What are the three parts of a jdbc url?

574


Explain the difference between rowset vs. Resultset in jdbc?

579


Why resultset is used in java?

508






What is in term of jdbc a datasource?

482


How can we set null value in jdbc preparedstatement?

530


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

569


What is sqlwarning?

559


What is a jdbctemplate?

527


What do you understand by jdbc statements?

517


What is the use of statement in jdbc?

471


Name the method, which is used to prepare a callablestatement.

510


What is jdbc and odbc in java?

500


How to test jdbc connection to sql server?

506