Home

Awesome

GridDB JDBC Driver

Overview

The GridDB JDBC Driver provides an SQL interface for GridDB.

(Additional information)
There is Jar Package for GridDB Community Edition on Maven Central Repository. To download the precompiled jars, click on View all to see all versions of the driver, browse, and download gridstore-jdbc-x.x.x.jar from the repository.

Operating environment

Building and program execution are checked in the environment below.

OS: CentOS 7.9(x64)
GridDB server: V5.6 CE(Community Edition)

Quick start

Build

Run the make command like the following:

$ ant

and create the following file and links under the bin/ folder.

gridstore-jdbc.jar
gridstore-jdbc-call-logging.jar

Execute a sample program

GridDB server needs to be started in advance with "myCluster" as a cluster name and multicast method.

$ export CLASSPATH=${CLASSPATH}:./bin/gridstore-jdbc.jar
$ cp sample/en/jdbc/JDBCSelect.java .
$ javac JDBCSelect.java
$ java JDBCSelect

Document

Refer to the file below for more detailed information.

Community

License

The JDBC Driver source license is Apache License, version 2.0.
See 3rd_party/3rd_party.md for the source and license of the third party.