crate-jdbc

Crate.IO JDBC Driver

License

License

The Apache Software License, Version 2.0
GroupId

GroupId

io.crate
ArtifactId

ArtifactId

crate-jdbc
Last Version

Last Version

2.6.0
Release Date

Release Date

Type

Type

jar
Description

Description

crate-jdbc
Crate.IO JDBC Driver
Project URL

Project URL

https://crate.io
Source Code Management

Source Code Management

https://github.com/crate/crate-jdbc

Download crate-jdbc

How to add to project

<!-- https://jarcasting.com/artifacts/io.crate/crate-jdbc/ -->
<dependency>
    <groupId>io.crate</groupId>
    <artifactId>crate-jdbc</artifactId>
    <version>2.6.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.crate/crate-jdbc/
implementation 'io.crate:crate-jdbc:2.6.0'
// https://jarcasting.com/artifacts/io.crate/crate-jdbc/
implementation ("io.crate:crate-jdbc:2.6.0")
'io.crate:crate-jdbc:jar:2.6.0'
<dependency org="io.crate" name="crate-jdbc" rev="2.6.0">
  <artifact name="crate-jdbc" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.crate', module='crate-jdbc', version='2.6.0')
)
libraryDependencies += "io.crate" % "crate-jdbc" % "2.6.0"
[io.crate/crate-jdbc "2.6.0"]

Dependencies

compile (8)

Group / Artifact Type Version
com.github.dblock.waffle : waffle-jna jar 1.7.5
net.java.dev.jna : jna jar 4.2.1
net.java.dev.jna : jna-platform jar 4.2.1
org.slf4j : jcl-over-slf4j jar 1.7.12
com.fasterxml.jackson.core : jackson-databind jar 2.5.3
org.osgi : org.osgi.enterprise jar 4.2.0
org.osgi : org.osgi.core jar 4.3.1
com.ongres.scram : client jar 1.0.0-beta.2

Project Modules

There are no modules declared in this project.

CrateDB JDBC Driver

Test

A JDBC driver for CrateDB.

JDBC is a core API for Java 1.1 and later. It provides a standard set of interfaces to SQL-compliant databases.

This is a type 4 JDBC driver. The driver is written in pure Java, and communicates with the database using the PostgreSQL Wire Protocol.

Prerequisites

The CrateDB JDBC driver requires Java 8, preferably update 20 or later. We recommend using Oracle’s Java on macOS and OpenJDK on Linux Systems.

Consult the compatibility notes for additional information.

Installation

These instructions show you how to build the CrateDB JDBC driver from the source code. For a conventional install (using pre-built JAR files) follow the getting started documentation.

Clone the repository:

$ git clone --recursive https://github.com/crate/crate-jdbc

Change directory into the repository:

$ cd crate-jdbc

Build a regular JAR file:

$ ./gradlew jar

Or, build a JAR file that includes dependencies:

$ ./gradlew standaloneJar

Afterwards you can find the JAR file in the build/lib directory.

Note that building the JAR files requires your environment locale set to UTF-8.

Contributing

This project is primarily maintained by Crate.io, but we welcome community contributions!

See the developer docs and the contribution docs for more information.

Help

Looking for more help?

io.crate

Crate.io

CrateDB: Put machine data to work

Versions

Version
2.6.0