Home > Software > Java > JDBC
Interview Questions   Tutorials   Discussions   Programs   

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

    Next Topic



329
views
asked mar August 27, 2014 05:18 AM  

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


           

1 Answers



 
answered By Madhumathi   0  
JDBC is Java Data Base Connectivity .
ODBC is Open Data Base Connectivity .


Differences :
ODBC is from Microsoft .
JDBC is standard java interface to communicate with a database.
Both are used to connect with the database.


ODBC can't be directly used with Java because it uses a C interface. 
ODBC makes use of pointers which have been removed totally from java. 

ODBC mixes simple and advanced features together and has complex options for simple queries.
But JDBC is simple which allows advanced capabilities when required. 

JDBC drivers are written in java and JDBC code is automatically  installable, secure, and portable on all platforms.

JDBC API is a Java Interface and is built on ODBC.
 JDBC retains some of the basic feature of ODBC.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert