diff --git a/bom/application/pom.xml b/bom/application/pom.xml index e75c316fec964..df073bf133246 100644 --- a/bom/application/pom.xml +++ b/bom/application/pom.xml @@ -129,7 +129,7 @@ 2.2.224 42.6.0 3.2.0 - 8.0.30 + 8.0.33 12.4.0.jre11 1.6.7 23.3.0.23.09 diff --git a/extensions/jdbc/jdbc-mysql/runtime/src/main/java/io/quarkus/jdbc/mysql/runtime/graal/com/mysql/cj/jdbc/MySQLJDBCSubstitutions.java b/extensions/jdbc/jdbc-mysql/runtime/src/main/java/io/quarkus/jdbc/mysql/runtime/graal/com/mysql/cj/jdbc/MySQLJDBCSubstitutions.java index faa9f278d190a..ced7df3594206 100644 --- a/extensions/jdbc/jdbc-mysql/runtime/src/main/java/io/quarkus/jdbc/mysql/runtime/graal/com/mysql/cj/jdbc/MySQLJDBCSubstitutions.java +++ b/extensions/jdbc/jdbc-mysql/runtime/src/main/java/io/quarkus/jdbc/mysql/runtime/graal/com/mysql/cj/jdbc/MySQLJDBCSubstitutions.java @@ -9,6 +9,14 @@ @TargetClass(className = "com.mysql.cj.protocol.a.authentication.AuthenticationOciClient") final class AuthenticationOciClient { + @Substitute + private void loadOciConfig() { + throw ExceptionFactory + .createException("OciClient authentication is not available in Quarkus when compiling to native-image:" + + " the MySQL JDBC driver team needs to cleanup the dependency requirements to make this possible." + + " If you need this resolved, please open a support request."); + } + @Substitute private void initializePrivateKey() { throw ExceptionFactory