0% found this document useful (0 votes)
101 views3 pages

ODBC Vs JDBC

ODBC (Open Database Connectivity) is a C interface that allows applications to access databases, enabling SQL statements to access different databases. However, ODBC cannot be used directly with Java. JDBC (Java Database Connectivity) is a Java API that allows Java programs to connect to databases. It provides a standard interface for querying and updating data in relational databases. While ODBC uses an interface, JDBC uses Java classes and interfaces to connect to databases. JDBC also allows applications to connect to different databases on different platforms.

Uploaded by

Bhaumik Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views3 pages

ODBC Vs JDBC

ODBC (Open Database Connectivity) is a C interface that allows applications to access databases, enabling SQL statements to access different databases. However, ODBC cannot be used directly with Java. JDBC (Java Database Connectivity) is a Java API that allows Java programs to connect to databases. It provides a standard interface for querying and updating data in relational databases. While ODBC uses an interface, JDBC uses Java classes and interfaces to connect to databases. JDBC also allows applications to connect to different databases on different platforms.

Uploaded by

Bhaumik Joshi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

What is difference between ODBC and JDBC? about:reader?url=https://www.quora.com/What-is...

quora.com

What is difference between ODBC and


JDBC?
ODBC Stands for “Open DataBase Connectivity”: It’s an interface
for accessing a databas.
statements enables you to access files in different databases,
including Access, DataBase, Excel, and
Text.

*ODBC access the DataBase using SQL requests, ODBC converts


these SQL requests into a request that the DataBase can
understand.
*ODBC is a C interface, So that it can’t be used with Java directly,
and it’s for Microsoft, used for desktop applications.
*ODBC requires “manual” installation of the driver manager and
driver on client machine.
*ODBC uses Object Oriented features.

Note That :-
ODBC is used between applications “Just An Interface”.
ODBC Architecture :-
Data Source >> Driver {DBMS} >> ODBC Driver Manger
>>Application.

1 of 3 12/20/2018 10:37 AM
What is difference between ODBC and JDBC? about:reader?url=https://www.quora.com/What-is...

JDBC :

Stands for “Java DataBase Connectivity” : It’s the tool by which


developers can connect, query and
update database using the SQL, Including group of Java classes
and interfaces, JDBC is built on ODBC, Developer has to write
code to map an object model’s data representation to a relational
data model and its database schema.

*JDBC is Java API “Application programming interfac” used for


connecting programs that is written in Java to the data in a
relational databass.
*JDBC Task is to : establish the connection with th DB then send
SQL statements to the DB and finally process the result sets
“Returned Data”.
*JDBC allows database application to run on different platforms
and interact with different DBMS “DatBase Management Servers”.
*JDBC is used only for connectivity with java.
*JDBC is Java version of ODBC.
*JDBC is an API “Application programming interfac” Specification
provided by SUN by which any Java Program can communicate
with any database server.
*With JDBC .. There’s no need for “Manual” installation {Unlike
ODBC}, Because JDBC code is written automatically and installed
and portable on all platforms.

Note That :-

2 of 3 12/20/2018 10:37 AM
What is difference between ODBC and JDBC? about:reader?url=https://www.quora.com/What-is...

To access ODBC databases by the JDBC interfaces, you must use


a JDBC-ODBC bridge program.
JDBC Architecture :-
DataBase Management System “DBMS” >> ODBC Driver >>
JDBC-ODBC bridge >> JDBC Driver Manager >> Java Application.

3 of 3 12/20/2018 10:37 AM

You might also like