Site Overlay


So it cannot be used in internet due the client side software needed Type3 – Java to Network Protocol Driver Pure Java drivers that use a proprietary network protocol to communicate with JDBC middleware on the server The middleware then translates the network protocol to database-specific function calls Do not require native database libraries in the client side and can connect to many different databases in the backend Can be deployed over the Internet without client installation Requires database-specific coding to be done in the middle tier. It requires another server application to install and maintain. Unsourced material may be challenged and removed. Number of translation layers is very less i. The type 3 driver typically provides support for features such as caching connections, query results, and so on , load balancing, and advanced system administration such as logging and auditing. In a Type 3 driver, a three-tier approach is used to access databases.

Uploader: Digar
Date Added: 17 May 2015
File Size: 32.29 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 48182
Price: Free* [*Free Regsitration Required]

This driver is fully written in Java and hence Portable.

Oracle OCI driver is a type 2 driver. This kind of driver is extremely flexible, diahram it requires no code installed on the client and a single driver can actually provide access to multiple databases. You can think of the application server as a JDBC “proxy,” meaning that it makes calls for the client application.

The type 1 driver is not considered a deployment-level driver, and is typically used for development and testing purposes only. Please help improve this article by adding citations to reliable sources.


Java platform Data access technologies.

No cleanup reason has been specified. For example, using JDBC drivers enable you to open database connections and to interact with it by sending SQL or database commands then receiving results with Java. Please help improve it to make it understandable to non-expertswithout removing the technical details. In a Type 4 driver, a pure Java-based driver communicates directly with the vendor’s database through socket connection.

Oracle will have oracle native api. The driver is platform-dependent as it makes use of ODBC which in turn depends on native libraries of the underlying operating system the JVM is running upon.

Since the Bridge driver is not written fully in Java, Type 1 drivers are not portable. Learn how and when to remove these template messages. This technology isn’t suitable for a high-transaction environment.

It depends on the number of databases the middleware has been configured to support. If your Java application is accessing multiple types of databases at the same time, type 3 is the preferred driver.

Types of JDBC Drivers

The middle-tier application server converts JDBC calls directly or indirectly into a vendor-specific database protocol. Views Read Edit View history. It will skip any drivers that are untrusted code unless they have been loaded from the same source as the code that is trying to open the connection.

Third party vendors implements the java. Unlike the type 3 drivers, it does not need associated software to tgpe1. Further, these drivers can be downloaded dynamically.


It is most suitable for the web. Please help improve it or discuss these issues on the talk page. Like type 4 drivers, the type 3 driver is written entirely in Java. The drivers listed in jdbc. This kind of driver is extremely flexible, you don’t need to install special software on the diagrma or server. This article has multiple issues. The major jdbcc of using a type 4 jdbc drivers are that tpe1 are completely written in Java to achieve platform independence and eliminate deployment administration issues.

JDBC driver implementations vary because of the wide variety of operating systems and hardware platforms in which Java operates. This driver is native code and not Java, and is closed source.

Unsourced material may be challenged and removed.

JDBC Driver Types

Please help improve this article if you can. First the DriverManager tries to use each driver in the order it was registered.

Also, use of this driver leads to other installation dependencies; for example, ODBC must be installed on the computer having the driver and the database must support an ODBC driver.