MariaDB Connector/J

Overview

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

Connector

MariaDB Connector/J

Supported Versions

Programming Language

Java

Programming Language Version

Java 21, Java 17, Java 11, Java 8 (Connector/J 3.4)
Java 17, Java 11, Java 8 (Connector/J 2.7)

API

JDBC 4.2 (Connector/J 3.4)
JDBC 4.2 (Connector/J 2.7)

Supports TLS

Yes

Supports Connection Pools

Yes

License

GNU Lesser General Public License v2.1

Latest Software Releases

Version

Latest Release

Latest Release Date

Maturity

MariaDB Connector/J 3.4

MariaDB Connector/J 3.4.0MariaDB Connector/J 3.4.0

2024-05-17

General Availability

MariaDB Connector/J 2.7

MariaDB Connector/J 2.7.12MariaDB Connector/J 2.7.12

2024-02-20

General Availability

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