Amazon Neptune Jdbc Driver

Amazon Neptune JDBC Driver by Amazon Web Services
Alternatives To Amazon Neptune Jdbc Driver
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Spark Redshift514413 years ago10November 01, 2016134apache-2.0Scala
Redshift data source for Apache Spark
Amazon Timestream Tools192
5 days ago1January 26, 202314mit-0Java
Tools and utilities to enable loading data and building applications with Amazon Timestream.
Amazon Redshift Jdbc Driver431a month ago12May 05, 20229apache-2.0Java
Redshift JDBC Driver. It supports JDBC 4.2 specification.
Dice Fairlink30
9 months ago2April 26, 20216mitJava
JDBC Driver for read-only connections on AWS RDS Clusters
Athena Cli22
4 years agomitRuby
CLI for Amazon Athena, powered by JRuby
Scalikejdbc Athena19
2 years agoapache-2.0Scala
Library for using Amazon Athena JDBC Driver with ScalikeJDBC
Kafka Connect Redshift18
4 years ago2apache-2.0Java
Kafka Sink Connector for Amazon Redshift
Redash Amazon Athena Proxy18
6 years agoJava
Amazon Athena to Redash Proxy app
Amazon Neptune Jdbc Driver17
a day ago23apache-2.0Java
Amazon Neptune JDBC Driver by Amazon Web Services
4 years ago3otherR
Helpers for Accessing and Querying Amazon Athena using R, Including a lightweight RJDBC shim
Alternatives To Amazon Neptune Jdbc Driver
Select To Compare

Alternative Project Comparisons

JDBC Driver for Amazon Neptune

This driver provides read-only JDBC connectivity for the Amazon Neptune service using SQL, Gremlin, openCypher and SPARQL queries.

Using the Driver

The driver is available on Maven Central. In addition to the regular jar, a shadow/uber/fat jar is also published with the classifier all.

To use the Driver in BI tools, please refer to the documentation below.

To connect to Amazon Neptune using the JDBC driver, the Neptune instance must be available through an SSH tunnel, load balancer, or the JDBC driver must be deployed in an EC2 instance.

SSH Tunnel and host file must be configured before using the drive to connect to Neptune, please see SSH configuration.


This driver is compatible with JDBC 4.2 and requires a minimum of Java 8.

Compatibility with AWS Neptune

Engine Release Driver Version
< 1.1.0
< and >= 2.0.0+
>= 3.0.0+

Connection URL and Settings

To set up a connection, the driver requires a JDBC connection URL. The connection URL is generally of the form:


A basic example of a connection string is:


Specific requirements for the string can be found below in the specific query language documentation.

Connecting using the DriverManager Interface

If the jar is in the application's classpath, no other configuration is required. The driver can be connected to using the JDBC DriverManager by connecting using an Amazon Neptune connection string.

Below is an example where Neptune is accessible through the endpoint on port 8182.

Reminder: The Neptune endpoint is only accessible if a SSH tunnel is established to a EC2 instance in the same Amazon VPC as the Neptune cluster.

In this example, the SSH tunnel would have been established by running something similar to the following in a shell:

ssh -i "ec2Access.pem" -L [email protected] -N

The full documentation for how to establish the SSH tunnel can once again be found here.

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;

void example() {
    String url = "jdbc:neptune:sqlgremlin://;port=8182";

    Connection connection = DriverManager.getConnection(url);
    Statement statement = connection.createStatement();

Refer to the connection string options in the specific query language documentation below for more information about configuring the connection.

For more example applications, see the sample applications.

Graph Query Language Support


The driver supports a subset of SQL-92 and some common extensions.

To connection to Amazon Neptune using SQL, please see the SQL connection configurations for details about connection string configurations.


Gremlin is a graph traversal language supported by Neptune. To issue Gremlin queries to Neptune though the driver, please see Gremlin connection configurations.


openCypher is an open query language for property graph database supported by Neptune. To issue openCypher queries to Neptune though the driver, please see openCypher connection configurations.


SPARQL is an RDF query language supported by Neptune. To issue SPARQL queries to Neptune though the driver, please see SPARQL connection configurations.

Driver Setup in BI Applications

To learn how to set up the driver in various BI tools, instructions are outlined here for:


To troubleshoot or debug issues with the JDBC driver, please see the troubleshooting instructions.


Because the JDBC driver is available as open source, contribution from the community is encouraged. If you are interested in improving performance, adding new features, or fixing bugs, please see our contributing guidelines.

Building from Source

If you wish to contribute, you will need to build the driver. The requirements to build the driver are very simple, you only need a Java 8 compiler with a runtime environment and you can build and run the driver.

Security Issue Notifications

If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public GitHub issue.


See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.


Copyright, Inc. or its affiliates. All Rights Reserved.

Popular Jdbc Projects
Popular Amazon Projects
Popular Data Processing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.