How does JDBC differ from ODBC?
Answers were Sorted based on User's Feedback
JDBC is the name of the protocol which is used to connect
to the database whereas ODBC is the mechanism that is used
to retrieve data from the database....JDBC is called the
protocol and ODBC the subprotocol...
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / guest
ODBC is the industry-standard interface by which database
clients connect to database servers.
JDBC is a pure Java solution that does not follow the ODBC
standard.
However, there is a bridge between JDBC and ODBC that allows
JDBC to access databases that support ODBC.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / d. kalaivani natarajan
JDBC is platform independent whereas ODBC is platform
dependent.
ODBC is used to connect any type of client with a server.
But JDBC is used to connect only java based clients to a
server. Anyway, JDBC requires ODBC for this.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / murali
JDBC technology is an api written in java,where as odbc is a
'c' interface written in c/c++ and cobol languages.
jdbc makes jdbcAPI calls
odbc tranforms jdbcAPI calls to odbc operations,these are
sent to database server.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / 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 |
Answer / devarathnam c,kotagudibanda(po
Hi...
JDBC: It is developed in pure java language.But ODBC
develop in C/C++ language using pointers,it is a microsoft
product.
| Is This Answer Correct ? | 2 Yes | 0 No |
jdbc is used to connecting the database through the java
language.but the odbc is common to all the database
connection.
| Is This Answer Correct ? | 0 Yes | 3 No |
Why do you use a data source object for a connection?
What is device controller?
How to create Connection interface object because it is Interface , Interface is not instansiated?
If iam using JDBC API, do I also have to use ODBC?
If you are truncated using JDBC, how can you that how much data is truncated?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
What is ojdbc14 jar?
Why do we need jdbc driver?
How does JDBC differ from ODBC?
Explain the steps in writing a java program using jdbc?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What are the common tasks of JDBC?