This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: MariaDB ConnectorsProgramming Languages
Topics on this page:
MariaDB Connector/J enables Java applications to connect to MariaDB database products using a native MariaDB connector.
Programming Language Version
Java 17, Java 11, Java 8 (Connector/J 3.1)
Java 17, Java 11, Java 8 (Connector/J 3.0)
Java 17, Java 11, Java 8 (Connector/J 2.7)
Java 7 (Connector/J 1.8)
JDBC 4.2 (Connector/J 3.1)
JDBC 4.2 (Connector/J 3.0)
JDBC 4.2 (Connector/J 2.7)
JDBC 4.1 (Connector/J 1.8)
Supports Connection Pools
GNU Lesser General Public License v2.1
MariaDB Connector/J is compatible with:
MariaDB SkySQL DBaaS
MariaDB database products (including MariaDB Enterprise Server and MariaDB MaxScale)
Latest Software Releases
Latest Release Date
MariaDB Connector/J 3.1
MariaDB Connector/J 3.0
MariaDB Connector/J 2.7
MariaDB Connector/J 1.8
MariaDB Connector/J 1.8.0
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.
Application Servers Support
Spring Data Support
Development with MariaDB Connector/J (building your application)
DML (SELECT, INSERT, UPDATE, DELETE)
DDL (ALTER TABLE, TRUNCATE TABLE)