Using the NuoDB JDBC Driver

JDBC is the Java API defining API calls to SQL compliant databases.

The NuoDB driver is a JDBC type 4 driver (also known as a Direct to Database Pure Java Driver) that converts JDBC calls directly into a vendor-specific database protocol. This documentation is not meant to be a full Reference or Programming manual for JDBC. It is just meant to help you get started with JDBC and NuoDB.

The NuoDB JDBC driver has always included backwards and forwards compatibility with every version of NuoDB. For example, you can use the JDBC driver for NuoDB 1.0 with the latest version of NuoDB or you can use the current JDBC driver with NuoDB 1.0.

Requirements

Java 8 or 11. Both Oracle and OpenJDK are supported.

The JDBC driver is based on JDBC 4.0.

Dependencies

From version 21.x.x onwards the NuoDB JDBC Driver only contains NuoDB libraries. It does not contain any of the following libraries (that previous versions of this driver did contain):

Library Version

slf4j-api

1.7.6

bcpkix-jdk15on (BouncyCastle)

1.61

apache httpclient

4.5.8

Installation

The JDBC jar is published via Sonatype to Maven Central so that you can declare a dependency in your Gradle, Ivy or Maven build files. For specific up to date details, search for "NuoDB" at: http://search.maven.org.

<!-- Maven POM -->
<dependency>
    <groupId>com.nuodb.jdbc</groupId>
    <artifactId>nuodb-jdbc</artifactId>
    <version>22.0.0</version>
</dependency>

compile group: 'com.nuodb.jdbc', name: 'nuodb-jdbc', version: '22.0.0'

<!-- Ivy XML -->
<dependency org="com.nuodb.jdbc" name="nuodb-jdbc" rev="22.0.0"/>

The version number is subject to change.

Note that the JDBC driver JAR has a version number and release cycle independent of NuoDB itself, starting with version 20.0.0.

For the Maven URL required to download the JDBC JAR file, see NuoDB Drivers Available at Other Public Sites.