MariaDB Connector/J

MariaDB Connector/J enables Java applications to connect to MariaDB Enterprise using a native MariaDB connector.

Overview

Connector

MariaDB Connector/J

Supported Versions

2.7
1.8

Programming Language

Java

Programming Language Version

Java 11, Java 8 (Connector/J 2.7)
Java 7 (Connector/J 1.8)

API

JDBC 4.2 (Connector/J 2.7)
JDBC 4.1 (Connector/J 1.8)

Supports TLS

Yes

Supports Connection Pools

Yes

License

GNU Lesser General Public License v2.1

Compatibility

MariaDB Connector/J is compatible with:

  • MariaDB SkySQL DBaaS

  • MariaDB Enterprise (including MariaDB Enterprise Server and MariaDB MaxScale)

  • MariaDB Community Server

Latest Software Releases

Version

Latest Release

Latest Release Date

Maturity

MariaDB Connector/J 3.0

3.0.2

2021-09-16

Release Candidate

MariaDB Connector/J 2.7

2.7.4

2021-08-10

GA

MariaDB Connector/J 1.8

1.8.0

2019-02-11

GA

Benefits of Connector/J

MariaDB Connector/J conforms to the JDBC API. JDBC is well-established and has been used in production applications for more than two decades.

Java applications can alternatively use MariaDB Connector/R2DBC.

Feature

Connector/J

Connector/R2DBC

Object-Oriented

Yes

Yes

Java based

Yes

Yes

Transactions

Yes

Yes

Connection Pools

Yes

Yes

Reactive Programming

No

Yes

Application Servers Support

Yes

No

Spring Data Support

Yes

Yes

Resources