Difference Between JDBC and ODBC

JDBCDatabaseJava

In this post, we will understand the difference between JDBC and ODBC.

ODBC

  • It stands for Open Database Connectivity.

  • It was introduced by Microsoft in the year 1992.

  • It can be used with languages such as C, C++, Java.

  • It can be chosen only on windows platform.

  • Its drivers are developed in native languages such as C, C++.

  • It is procedural.

  • It is not recommended to use this for Java applications.

  • It is because the performance would be reduced due to internal conversions, and it would become platform dependent

JDBC

  • It stands for Java Database Connectivity.

  • It was introduced by SUN Micro Systems in the year 1997.

  • It can only be used only with Java language.

  • It can be used on any platform.

  • It is object-oriented.

  • It is highly suggested to use DBC with Java since there is no performance reduction.

  • It is also platform independent.

raja
Published on 25-Mar-2021 06:23:28
Advertisements