---
title: "org.mariadb.jdbc:mariadb-java-client 4.0.0 Breaking Changes"
description: "What each org.mariadb.jdbc:mariadb-java-client release removed, renamed or changed: 130 breaking changes in 2 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.mariadb.jdbc:mariadb-java-client
last_updated: 2026-12-04
---

# org.mariadb.jdbc:mariadb-java-client breaking changes

org.mariadb.jdbc:mariadb-java-client 4.0.0 (October 21, 2026) is its newest release with breaking changes, 43 of them. The first: org.mariadb.jdbc:mariadb-java-client 4.0.0 requires Java 17 or later. Every breaking API change we have recorded in org.mariadb.jdbc:mariadb-java-client on Maven Central: 130 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released October 21, 2026. [Source repository](https://github.com/mariadb-corporation/mariadb-connector-j)

Its 4.0.0 release requires [Java 17](https://since.dev/calendar/eclipse-temurin/17.md) or later. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [3.0.3](#v-3-0-3) to [4.0.0](#v-4-0-0): 43 breaking changes in 1 version.

## org.mariadb.jdbc:mariadb-java-client 4.0.0 breaking changes

org.mariadb.jdbc:mariadb-java-client 4.0.0, released October 21, 2026: 43 breaking changes.

- **Removed**  

Java 8 and 11 are no longer supported, so applications on those runtimes must upgrade to Java 17 or stay on the 3.5 branch. [github.com](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.ReadAheadBufferedStream`  

The ReadAheadBufferedStream class is no longer available, so code referencing it must be removed. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.SocketHandlerFunction`  

org.mariadb.jdbc.client.socket.impl.SocketHandlerFunction was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.SocketUtility`  

org.mariadb.jdbc.client.socket.impl.SocketUtility was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.recv`  

UnixDomainSocket.recv was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.send`  

UnixDomainSocket.send was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.SockAddr`  

org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.SockAddr was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.socket`  

UnixDomainSocket.socket was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.strerror`  

UnixDomainSocket.strerror was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.SocketHelper`  

org.mariadb.jdbc.client.SocketHelper was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.client.tls.HostnameVerifier`  

org.mariadb.jdbc.client.tls.HostnameVerifier was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.Configuration.useReadAheadInput`  

The useReadAheadInput option is gone, so connection strings that set it need to drop it. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.FunctionStatement.preValidParameters`  

FunctionStatement.preValidParameters was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.message.ClientMessage.skipStringLiteral`  

ClientMessage.skipStringLiteral was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.message.ClientMessage.skipToEndOfLine`  

ClientMessage.skipToEndOfLine was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.message.server.util.ServerVersionUtility`  

org.mariadb.jdbc.message.server.util.ServerVersionUtility was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.authentication.addon.gssapi.GssapiAuth`  

org.mariadb.jdbc.plugin.authentication.addon.gssapi.GssapiAuth was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.authentication.addon.gssapi.GssUtility`  

org.mariadb.jdbc.plugin.authentication.addon.gssapi.GssUtility was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.authentication.addon.gssapi.WindowsNativeSspiAuthentication`  

org.mariadb.jdbc.plugin.authentication.addon.gssapi.WindowsNativeSspiAuthentication was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.credential.aws.AwsCredentialGenerator`  

org.mariadb.jdbc.plugin.credential.aws.AwsCredentialGenerator was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.credential.aws.AwsIamCredentialPlugin`  

AWS IAM authentication is no longer in the main connector and must be added through the separate mariadb-java-client-aws artifact. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.Credential.getPassword`  

Credential.getPassword was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.Credential.getUser`  

Credential.getUser was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.plugin.TlsSocketPlugin.verify`  

TlsSocketPlugin.verify was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.util.ClientParser.getParamPositions`  

ClientParser.getParamPositions was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.util.ClientParser.getQuery`  

ClientParser.getQuery was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.util.ClientParser.getValuesBracketPositions`  

ClientParser.getValuesBracketPositions was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.util.PrepareResult.getParamCount`  

PrepareResult.getParamCount was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Removed** `org.mariadb.jdbc.util.PrepareResult.getSql`  

PrepareResult.getSql was removed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Renamed** `org.mariadb.jdbc.Configuration.Builder.useReadAheadInput`  

Use org.mariadb.jdbc.Configuration.Builder.deferCertificateValidation instead. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Behavior changed** `Connection.setSavepoint`  

setSavepoint() now throws when the connection is in auto-commit mode instead of silently succeeding, so code must disable auto-commit first. [github.com](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/4.0.0)
- **Behavior changed** `PreparedStatement.executeQuery`  

PreparedStatement.executeQuery() now throws for statements without a result set; set the permitNoResults option to restore the former behavior. [github.com](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/4.0.0)
- **Default changed** `cachedCodecs`  

The cachedCodecs option is enabled by default, so set it to false to keep the previous codec lookup behavior. [github.com](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/4.0.0)
- **Default changed** `sslMode`  

Connections now default to verify-full TLS, so users who relied on unencrypted connections must set sslMode explicitly. [github.com](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/4.0.0)
- **Signature changed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.close`  

The signature of UnixDomainSocket.close changed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.client.socket.impl.UnixDomainSocket.connect`  

The signature of UnixDomainSocket.connect changed in org.mariadb.jdbc:mariadb-java-client 4.0.0 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.client.tls.MariaDbX509DeferredIdentityTrustManager`  

Was class MariaDbX509DeferredIdentityTrustManager implements javax.net.ssl.X509TrustManager; now class MariaDbX509DeferredIdentityTrustManager extends javax.net.ssl.X509ExtendedTrustManager. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.plugin.authentication.addon.gssapi.StandardGssapiAuthentication`  

Was class StandardGssapiAuthentication implements org.mariadb.jdbc.plugin.authentication.addon.gssapi.GssapiAuth; now class StandardGssapiAuthentication. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.plugin.Credential`  

Was class Credential; now final class Credential extends Record. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.plugin.tls.main.DefaultTlsSocketPlugin.createSocket`  

Was javax.net.ssl.SSLSocket createSocket(java.net.Socket, javax.net.ssl.SSLSocketFactory); now javax.net.ssl.SSLSocket createSocket(java.net.Socket, javax.net.ssl.SSLSocketFactory, String). [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.plugin.TlsSocketPlugin.createSocket`  

Was javax.net.ssl.SSLSocket createSocket(java.net.Socket, javax.net.ssl.SSLSocketFactory); now javax.net.ssl.SSLSocket createSocket(java.net.Socket, javax.net.ssl.SSLSocketFactory, String). [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.util.ClientParser`  

Was final class ClientParser implements org.mariadb.jdbc.util.PrepareResult; now final class ClientParser extends Record implements org.mariadb.jdbc.util.PrepareResult. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)
- **Signature changed** `org.mariadb.jdbc.util.Version`  

Was class Version; now final class Version implements org.mariadb.jdbc.client.ServerVersion. [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/4.0.0)

## org.mariadb.jdbc:mariadb-java-client 3.0.3 breaking changes

org.mariadb.jdbc:mariadb-java-client 3.0.3, released January 21, 2022: 87 breaking changes.

- **Removed** `org.mariadb.jdbc.authentication.AuthenticationPlugin`  

org.mariadb.jdbc.authentication.AuthenticationPlugin was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.authentication.AuthenticationPluginLoader`  

org.mariadb.jdbc.authentication.AuthenticationPluginLoader was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.BasePrepareStatement`  

org.mariadb.jdbc.BasePrepareStatement was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.CallableFunctionStatement`  

org.mariadb.jdbc.CallableFunctionStatement was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.CallableProcedureStatement`  

org.mariadb.jdbc.CallableProcedureStatement was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.ClientSidePreparedStatement`  

org.mariadb.jdbc.ClientSidePreparedStatement was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.credential.aws.AwsIamCredentialPlugin`  

org.mariadb.jdbc.credential.aws.AwsIamCredentialPlugin was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.credential.Credential`  

org.mariadb.jdbc.credential.Credential was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.credential.CredentialPlugin`  

org.mariadb.jdbc.credential.CredentialPlugin was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)
- **Removed** `org.mariadb.jdbc.credential.CredentialPluginLoader`  

org.mariadb.jdbc.credential.CredentialPluginLoader was removed in org.mariadb.jdbc:mariadb-java-client 3.0.3 [central.sonatype.com](https://central.sonatype.com/artifact/org.mariadb.jdbc/mariadb-java-client/3.0.3)

And 77 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
