diff --git a/bom/application/pom.xml b/bom/application/pom.xml
index b482be3b39686..ea8ccaae734bf 100644
--- a/bom/application/pom.xml
+++ b/bom/application/pom.xml
@@ -119,7 +119,7 @@
2.3.230
42.7.4
- 3.5.0
+ 3.5.1
8.3.0
12.8.1.jre11
1.6.7
diff --git a/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacketFactory_Substitutions.java b/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacketFactory_Substitutions.java
new file mode 100644
index 0000000000000..d775c42f26c41
--- /dev/null
+++ b/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacketFactory_Substitutions.java
@@ -0,0 +1,23 @@
+package io.quarkus.jdbc.mariadb.runtime.graal;
+
+import org.mariadb.jdbc.Configuration;
+import org.mariadb.jdbc.HostAddress;
+import org.mariadb.jdbc.plugin.AuthenticationPlugin;
+import org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacketFactory;
+
+import com.oracle.svm.core.annotate.Substitute;
+import com.oracle.svm.core.annotate.TargetClass;
+
+/**
+ * The SendPamAuthPacketFactory class is not supported in native mode.
+ */
+@TargetClass(SendPamAuthPacketFactory.class)
+public final class SendPamAuthPacketFactory_Substitutions {
+
+ @Substitute
+ public AuthenticationPlugin initialize(String authenticationData, byte[] seed, Configuration conf,
+ HostAddress hostAddress) {
+ throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM");
+ }
+
+}
diff --git a/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java b/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java
index b03ac4cb81651..8365c7b36f3bf 100644
--- a/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java
+++ b/extensions/jdbc/jdbc-mariadb/runtime/src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java
@@ -1,29 +1,15 @@
package io.quarkus.jdbc.mariadb.runtime.graal;
-import java.io.IOException;
-import java.sql.SQLException;
+import org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacket;
-import org.mariadb.jdbc.Configuration;
-import org.mariadb.jdbc.HostAddress;
-import org.mariadb.jdbc.client.Context;
-import org.mariadb.jdbc.client.ReadableByteBuf;
-import org.mariadb.jdbc.client.socket.Reader;
-import org.mariadb.jdbc.client.socket.Writer;
-
-import com.oracle.svm.core.annotate.Substitute;
+import com.oracle.svm.core.annotate.Delete;
import com.oracle.svm.core.annotate.TargetClass;
-@TargetClass(className = "org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacket")
+/**
+ * The SendPamAuthPacket class is not supported in native mode.
+ */
+@Delete
+@TargetClass(SendPamAuthPacket.class)
public final class SendPamAuthPacket_Substitutions {
- @Substitute
- public void initialize(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) {
- throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM");
- }
-
- @Substitute
- public ReadableByteBuf process(Writer out, Reader in, Context context)
- throws SQLException, IOException {
- throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM");
- }
}