MariaDB Connector/J
This page is part of MariaDB's Documentation.
The parent of this page is: MariaDB Connectors
Topics on this page:
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 |
License | GNU Lesser General Public License v2.1 |
Latest Software Releases
Version | Latest Release | Latest Release Date | Maturity |
---|---|---|---|
MariaDB Connector/J 3.5 |
| 2024-11-20 | General Availability |
MariaDB Connector/J 3.4 |
| 2024-07-17 | General Availability |
MariaDB Connector/J 2.7 |
| 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 |
Reactive Programming | No | Yes |
Application Servers Support | Yes | No |
Spring Data Support | Yes | Yes |
Resources
Development with MariaDB Connector/J (building your application)