You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rusher 8b2f79cf1b [misc] correction test for multi-insert value 1 month ago
.travis [CONJ-708] 'failover' HA option name is misleading, correction to loadbalance Adding failover alias for compatibility 1 month ago
documentation bump 2.4.2 1 month ago
src [misc] correction test for multi-insert value 1 month ago
.gitattributes Migrated from Bazaar to Git. 4 years ago
.gitignore [CONJ-369] Encoding correction on clob column with useServerPrepStmts set to true 2 years ago
.java.policy Fix for CONJ-121: implement Connection.getNetworkTimeout and Connection.setNetworkTimeout 4 years ago
.travis.yml [misc] correct mariadb 10.4 master build test 3 months ago
CONTRIBUTING.md Create CONTRIBUTING.md 2 years ago
LICENSE Adding LICENSE file, LGPL2.1 6 years ago
README.md bump 2.4.2 1 month ago
appveyor.yml [misc] correcting appveyor configuration script (link to archive) 2 months ago
build.xml [misc] java code cleaning 1 year ago
codecov.yml [misc] Disabling github codecov comment 1 month ago
mariadb-java-client.iml [misc] update appveyor test to last released version 4 months ago
maven-build.properties [misc] java code cleaning 1 year ago
maven-build.xml [misc] Updating Copyright to (c) 2015-2017 MariaDB Ab. 2 years ago
pom.xml bump 2.4.2 1 month ago

README.md

MariaDB java connector

MariaDB java connector is a JDBC 4.2 compatible driver, used to connect applications developed in Java to MariaDB and MySQL databases. MariaDB Connector/J is LGPL licensed.

Tracker link https://jira.mariadb.org/projects/CONJ/issues/

Status

Linux Build Windows Build Maven Central License (LGPL version 2.1) Known Vulnerabilities Codacy Badge

Obtaining the driver

Java version current version
6 1.7.4
7 1.7.4
8+ 2.4.2

The driver (jar) can be downloaded from mariadb connector download or maven :

<dependency>
	<groupId>org.mariadb.jdbc</groupId>
	<artifactId>mariadb-java-client</artifactId>
	<version>2.4.0</version>
</dependency>

Development snapshot are available on sonatype nexus repository

<repositories>
    <repository>
        <id>sonatype-nexus-snapshots</id>
        <name>Sonatype Nexus Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>org.mariadb.jdbc</groupId>
        <artifactId>mariadb-java-client</artifactId>
        <version>2.5.0-SNAPSHOT</version>
    </dependency>
</dependencies>

Documentation

For a Getting started guide, API docs, recipes, etc. see the

Contributing

To get started with a development installation and learn more about contributing, please follow the instructions at our Developers Guide.