Skip to content

Commit

Permalink
Bump org.mariadb.jdbc:mariadb-java-client from 3.5.0 to 3.5.1
Browse files Browse the repository at this point in the history
Bumps [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](mariadb-corporation/mariadb-connector-j@3.5.0...3.5.1)

---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: George Gastaldi <[email protected]>
  • Loading branch information
dependabot[bot] authored and gastaldi committed Nov 25, 2024
1 parent 1bc6cb9 commit fec0f50
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 22 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<h2.version>2.3.230</h2.version> <!-- When updating, needs to be matched in io.quarkus.hibernate.orm.runtime.config.DialectVersions
and the dependency jts-core needs to be updated in extensions/jdbc/jdbc-h2/runtime/pom.xml -->
<postgresql-jdbc.version>42.7.4</postgresql-jdbc.version>
<mariadb-jdbc.version>3.5.0</mariadb-jdbc.version>
<mariadb-jdbc.version>3.5.1</mariadb-jdbc.version>
<mysql-jdbc.version>8.3.0</mysql-jdbc.version>
<mssql-jdbc.version>12.8.1.jre11</mssql-jdbc.version>
<adal4j.version>1.6.7</adal4j.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -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");
}

}
Original file line number Diff line number Diff line change
@@ -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");
}
}

0 comments on commit fec0f50

Please sign in to comment.