What’s Java® DB Connectivity?

Print anything with Printful



Java® programming language uses JDBC interfaces to access and manipulate data from databases, including Oracle® and Microsoft®. JDBC requires vendor-specific drivers and SQL scripts, but frameworks like Hibernate and EJB streamline the process.

The Java® programming language is a software suite that offers many modules for most types of development. Among the most important modules are the Java® database connectivity programming interfaces (JDBC). These interfaces provide access to databases from Java® programs. The JDBC interfaces work with a variety of commercial databases including Oracle® and Microsoft®.

Most software applications require a database to store information captured from your computer keyboard. This data must be saved in the computer program and stored in a database. Java® uses JDBC to convert data from the programming language into a database. This conversion happens every time the application modifies the data.

A database is a special computer file system designed to store data for a business. The Java® database connectivity interface is the software that allows manipulation of this data from a Java® program. JDBC provides specific interfaces for adding, deleting and modifying data within a database.

Structured Query Language (SQL) is the scripting language designed specifically for databases. This SQL language allows the extraction of data from a database on a computer screen. The Java® database connectivity interface uses SQL as a method of updating data. This SQL script is passed to the JDBC interface as parameters to be executed against the database.

Open Database Connectivity (ODBC) is another interface designed for accessing databases as well. This software is used by most of the software that requires database connectivity. The main difference between ODBC and JDBC is that the Java® database connectivity interface is designed specifically for Java® software programs. It is typically not used as a generic database connection.

The Java® database connectivity interface requires vendor specific database drivers to function properly. These drivers are usually developed by database companies and are considered proprietary programs that interpret specific requests from Java® into a specific database format. Each driver provides the formats needed to interact with specific databases.
There are several methods for accessing data from databases. JDBC requires developers to write special SQL scripts. Many frameworks have been created to streamline the data access process. These frameworks hide JDBC functionality from Java® developers in an effort to increase productivity. Some examples of these frameworks include Hibernate and Enterprise Java® Beans (EJB).




Protect your devices with Threat Protection by NordVPN


Skip to content