Skip to content

Commit

Permalink
MySQL connector 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartisk committed Mar 13, 2024
1 parent bc0ca28 commit c5b34d2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ updates:
# JDBC Drivers
- dependency-name: org.postgresql:postgresql
- dependency-name: org.mariadb.jdbc:mariadb-java-client
- dependency-name: mysql:mysql-connector-java
- dependency-name: com.mysql:mysql-connector-j
- dependency-name: org.apache.derby:*
- dependency-name: com.ibm.db2:jcc
# Kafka
Expand Down
6 changes: 3 additions & 3 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<h2.version>2.1.214</h2.version>
<postgresql-jdbc.version>42.5.1</postgresql-jdbc.version>
<mariadb-jdbc.version>3.0.8</mariadb-jdbc.version>
<mysql-jdbc.version>8.0.30</mysql-jdbc.version>
<mysql-jdbc.version>8.2.0</mysql-jdbc.version>
<mssql-jdbc.version>11.2.0.jre11</mssql-jdbc.version>
<adal4j.version>1.6.7</adal4j.version>
<oracle-jdbc.version>21.5.0.0</oracle-jdbc.version>
Expand Down Expand Up @@ -4974,8 +4974,8 @@
<version>${mariadb-jdbc.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql-jdbc.version}</version>
<exclusions>
<exclusion>
Expand Down
4 changes: 2 additions & 2 deletions extensions/devservices/mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
</dependencies>
<build>
Expand Down
6 changes: 3 additions & 3 deletions extensions/jdbc/jdbc-mysql/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
<dependency>
<groupId>org.graalvm.nativeimage</groupId>
Expand All @@ -45,7 +45,7 @@
<artifactId>quarkus-extension-maven-plugin</artifactId>
<configuration>
<parentFirstArtifacts>
<parentFirstArtifact>mysql:mysql-connector-java</parentFirstArtifact>
<parentFirstArtifact>com.mysql:mysql-connector-j</parentFirstArtifact>
</parentFirstArtifacts>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5b34d2

Please sign in to comment.