NuoDB JDBC Driver

JDBC is the Java API defining API calls to SQL compliant databases. The NuoDB JDBC driver is a pure Java, platform-independent, Type 4 JDBC driver that converts standard JDBC calls directly to NuoDB specific database protocol.

The NuoDB JDBC driver provides full backward and forward compatibility with all NuoDB versions.

Requirements

  • Java version: Java 8 or later

  • Supported distributions: Oracle and OpenJDK

  • JDBC specification: JDBC 4.0.

Dependencies

For NuoDB JDBC driver version 21.x.x and later, you may choose to install the following optional library.

Library Version Description

slf4j-api

1.7.6 or later.

During start up, the driver can log messages to assist debugging of connection failures. This dependency allows the use of SLF4J logging - refer to Logging for details.

  • If you use JDK logging or the driver’s built-in logging, this dependency is not needed.

Installation

The JDBC JAR file is published to Maven Central and can be downloaded from the NuoDB JDBC Driver Maven repository. It can also be added as a dependency in Gradle, Ivy, or Maven build files.

<!-- Maven POM -->
<dependency>
    <groupId>com.nuodb.jdbc</groupId>
    <artifactId>nuodb-jdbc</artifactId>
    <version>xx.y.z</version>
</dependency>

<!-- Gradle Build -->
implementation group: 'com.nuodb.jdbc', name: 'nuodb-jdbc', version: 'xx.y.z'

<!-- Ivy XML -->
<dependency org="com.nuodb.jdbc" name="nuodb-jdbc" rev="xx.y.z"/>
  • The JDBC driver JAR has a version number and release cycle independent of the NuoDB version. Use the latest version number for the JDBC driver. For more information, see NuoDB JDBC Driver on Maven.

  • For increased SQL performance in higher network latency environments, use NuoDB 6.0 or later with JDBC driver 24.1.0 or later.