Skip to content

Commit

Permalink
Adjust mysql-connector-j native substitutions following dependency up…
Browse files Browse the repository at this point in the history
…grade
  • Loading branch information
yrodiere committed Nov 13, 2023
1 parent 42a028a commit a8d766d
Showing 1 changed file with 8 additions and 0 deletions.
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 a8d766d

Please sign in to comment.