Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mssql-jdbc to 12.2.0 #31262

Closed

Conversation

sschu
Copy link
Contributor

@sschu sschu commented Feb 17, 2023

Fixes #31261

@quarkus-bot quarkus-bot bot added the area/dependencies Pull requests that update a dependency file label Feb 17, 2023
@gsmet gsmet changed the title 31261 bump mssql-jdbc to 12.2.0 Bump mssql-jdbc to 12.2.0 Feb 18, 2023
@gsmet
Copy link
Member

gsmet commented Feb 18, 2023

There are some issues in native:

Error: Substitution target for io.quarkus.jdbc.mssql.runtime.graal.com.microsoft.sqlserver.jdbc.QuarkusSqlFedAuthToken is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
com.oracle.svm.core.util.UserError$UserException: Substitution target for io.quarkus.jdbc.mssql.runtime.graal.com.microsoft.sqlserver.jdbc.QuarkusSqlFedAuthToken is not loaded. Use field `onlyWith` in the `TargetClass` annotation to make substitution only active when needed.
	at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.findTargetClass(AnnotationSubstitutionProcessor.java:1031)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleClass(AnnotationSubstitutionProcessor.java:364)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.init(AnnotationSubstitutionProcessor.java:342)
------------------------------------------------------------------------------------------------------------------------
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.createAnnotationSubstitutionProcessor(NativeImageGenerator.java:966)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:868)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:575)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:535)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:580)
	at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:128)

@gsmet
Copy link
Member

gsmet commented Feb 18, 2023

I fixed the problem but I don't have the permission to push to your branch so I will create another PR (keeping your commit).

@gsmet gsmet closed this Feb 18, 2023
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label Feb 18, 2023
@gsmet
Copy link
Member

gsmet commented Feb 18, 2023

See #31280

@sschu
Copy link
Contributor Author

sschu commented Feb 19, 2023

@gsmet Thanks a lot! Sorry for missing this, I forgot to run the integration test locally...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies Pull requests that update a dependency file triage/invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump Microsoft SQL Server JDBC driver to 12.2.0
2 participants