Home  >  Article  >  Java  >  Differences between JDBC and ODBC

Differences between JDBC and ODBC

WBOY
WBOYforward
2023-09-13 19:01:061526browse

JDBC 和 ODBC 之间的区别

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

ODBC

  • It stands for Open Database Connection.

  • It was launched in 1992 by Microsoft.

  • It can be used with C, C, Java.

  • Only available on Windows platform.

  • The driver uses C and C.

  • It is procedural.

  • It is not recommended for use in Java applications.

  • Because internal conversion will cause performance degradation, Becomes platform dependent

JDBC

  • It stands for Java Database Connection.

    li>
  • It was launched in 1997 by SUN Micro Systems.

  • It can only be used with Java language.

    li>
  • It can be used on any platform.

  • It is object-oriented.

  • It is highly recommended to use DBC with Java as there is no performance penalty.

  • It is also platform independent.

p>

The above is the detailed content of Differences between JDBC and ODBC. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete