Introduction to the four JDBC driver standards defined by sun

Source: Internet
Author: User
Tags odbc

Four types of JDBC driver standards defined by Sun:

Type1 Jdbc-odbc Bridge

As part of the JDK1.1, it's part of the SUN.JDBC.ODBC package.

Application-->jdbc-odbc Bridge (Type1 JDBC driver)--->jdbc-odbc library-->odbc driver-->database

For fast prototyping systems, no JDBC-driven database such as Access

Type2 JAVA to Native API

Use the local library provided by the developer to communicate directly with the database.

Application--->jdbc Driver (Type2 JDBC Driver)--->native Database library--->database

Slightly better than Type1 performance.

Type3 Java to Net

Application--->jdbc Driver (Type3 Jdbc Driver)--->java middleware--->jdbc Driver--->database

Has the greatest flexibility, usually provided by those non-database vendors, and is the smallest of the four types.

Type4 JAVA to native dababase

Application--->jdbc driver (type4 JDBC driver)--->database engine--->database

The highest performance, communicates directly with the database engine through its own local protocol, and has the ability to assemble on the Internet.

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.