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

Answer Posted / anita

1.ODBC is for Microsoft and JDBC is for java applications.
2.ODBC can be directly used with Java because it uses a C
interface.
3.ODBC makes use of pointers which have been removed
totally from java.
4.ODBC mixes simple and advanced features together and has
complex options for simple queries,But JDBC is designed to
keep things simple while allowing advanced capabilities
when required.

5. JDBC API is a natural Java Interface and is built on
ODBC. JDBC retains some of the basic feature of ODBC

Is This Answer Correct ?    28 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I get information about foreign keys used in a table?

516


How vendor Naming registry supports JNDI?

1747


What is jdbc connection string?

491


Explain about Join?

575


What is jsp and jdbc?

477






Which interface is responsible for transaction management in jdbc?

439


Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection?

534


Why we use jdbc instead of odbc?

482


How to set NULL values in JDBC PreparedStatement?

522


What are the different types of statements? How we can you use preparedstatement.

489


How can you use preparedstatement in jdbc?

501


What is drivermanager in java?

474


What is connection data?

461


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

516


Why hibernate is better than jdbc?

480