The difference between JDBC and ODBC and its application

Source: Internet
Author: User

JDBC is connected directly to the database using a Java-based database drive, while the JDBC-ODBC is connected to an ODBC data source, and the connection to the database is truly odbc! It is recommended to use a JDBC direct connection, preferably using a connection pool!

JDBC is the Java database connection (Java DB Connectivity)). It consists of a set of classes and interfaces written in the Java programming language. JDBC provides tool/database developers with a standard API that enables them to write database applications using pure Java APIs.

ODBC (Open Database Connectivity), which is the interconnection of open databases. ODBC is based on SQL and takes it as a standard for accessing databases. This interface provides maximum interoperability: An application can access different database management systems through a common set of code. A client/server application developed by a software developer will not be set on a particular database. ODBC can provide the appropriate drivers for different databases. For an ASP process, an ODBC data source is an interface between an ASP program's ADO component and a database.

The difference between JDBC and ODBC and its application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.