JDBC Thin Client-Side Driver Installation

This section describes how to download and install Oracle JDBC thin client-side driver.

Among 4 different Oracle JDBC drivers offered by Oracle, JDBC Thin client-side driver is the simplest one to install and to use. Here is what I did to download and install the latest version on my local computer:

Installation of JDBC driver for Oracle server is done now.

If you are using older versions of JDK and/or older versions of Oracle servers, you need to find and download the correct version of JDBC Thin client-side driver JAR file, ojdbcXX.jar, according to the following table:

JAR Name         JDK Versions   Oracle versions
--------         ------------   ---------------
ojdbc11.jar      JDK 11+        Oracle 21c+
ojdbc10.jar      JDK 10+        Oracle 19c+
ojdbc8.jar       JDK 8+         Oracle 12c+
ojdbc7.jar       JDK 7+         Oracle 12c+
ojdbc6.jar       JDK 6+         Oracle 11g+
ojdbc5.jar       JDK 5+         Oracle 11g+
   
ojdbc14.jar      JDK 1.4+       Oracle 9i+
classes12.jar    JDK 1.2+       Oracle 8i+
classes12.jar    JDK 1.2+       Oracle 8i+
classes111.jar   JDK 1.1+       Oracle 8i+

Table of Contents

 About This Book

 JDBC (Java Database Connectivity) Introduction

 JDK (Java SE) Installation

 Installing and Running Java DB - Derby

 Derby (Java DB) JDBC Driver

 Derby (Java DB) JDBC DataSource Objects

 Java DB (Derby) - DML Statements

 Java DB (Derby) - ResultSet Objects of Queries

 Java DB (Derby) - PreparedStatement

 MySQL Installation on Windows

 MySQL JDBC Driver (MySQL Connector/J)

 MySQL - PreparedStatement

 MySQL - Reference Implementation of JdbcRowSet

 MySQL - JBDC CallableStatement

 MySQL CLOB (Character Large Object) - TEXT

 MySQL BLOB (Binary Large Object) - BLOB

 Oracle Express Edition Installation on Windows

Oracle JDBC Drivers

 Oracle JDBC Drivers Overview

JDBC Thin Client-Side Driver Installation

 Loading JDBC Driver Class - ojdbc16.jar

 JDBC Driver Connection URL

 Creating Connections with DataSource Class

 DataSource Error - makeURL() Failed

 Getting Driver and Server Information

 "CREATE TABLE" - Creating New Tables

 "INSERT INTO" - Inserting New Data Rows

 Oracle - Reference Implementation of JdbcRowSet

 Oracle - PreparedStatement

 Oracle - JBDC CallableStatement

 Oracle CLOB (Character Large Object) - TEXT

 Oracle BLOB (Binary Large Object) - BLOB

 Microsoft SQL Server Express Edition

 Microsoft JDBC Driver for SQL Server

 Microsoft JDBC Driver - Query Statements and Result Sets

 Microsoft JDBC Driver - DatabaseMetaData Object

 Microsoft JDBC Driver - DDL Statements

 Microsoft JDBC Driver - DML Statements

 SQL Server - PreparedStatement

 SQL Server CLOB (Character Large Object) - TEXT

 SQL Server BLOB (Binary Large Object) - BLOB

 JDBC-ODBC Bridge Driver - sun.jdbc.odbc.JdbcOdbcDriver

 JDBC-ODBC Bridge Driver - Flat Text Files

 JDBC-ODBC Bridge Driver - MS Access

 JDBC-ODBC Bridge Driver - MS SQL Server

 Summary of JDBC Drivers and Database Servers

 Using Connection Pool with JDBC

 Archived Tutorials

 References

 Full Version in PDF/EPUB