What is JDBC and ODBC and what are the differences between
them?
Answer Posted / anshu aggarwal
JDBC is Java Database Connectivity. It enables java programs
to execute sql statements. JDBC makes it possible to write a
single database application that can run on different
platforms and interact with different DBMS. JDBC is language
dependent i.e it is used only to make connectivity with java.
ODBC is open database connectivity. The goal of ODBC is to
make it possible to access any data from any application,
regardless of which database management system (DBMS) is
handling the data so it is language independent.
| Is This Answer Correct ? | 49 Yes | 20 No |
Post New Answer View All Answers
Why jdbc is used in java?
How do I load a database driver with JDBC 4.0 / Java 6?
How can we execute stored procedures?
What are the 4 types of jdbc drivers?
What is batch processing and how to perform batch processing in jdbc?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?
What is jdbc? Describe the steps needed to execute a sql query using jdbc.
Which type of JDBC driver is the fastest one?
Is jdbc secure?
Why prepared statements are faster?
How do I insert/update records with some of the columns having NULL value?
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
How to connect multiple database in jdbc?
How do I find ojdbc jar version?
code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)