You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/01/31 10:58:39 UTC

[GitHub] [camel-quarkus] jamesnetherton commented on issue #3498: Upgrade to H2 2.x

jamesnetherton commented on issue #3498:
URL: https://github.com/apache/camel-quarkus/issues/3498#issuecomment-1025613566


   I gave this a try locally. The `jdbc`, `jpa`, `jta` extension tests worked fine once I modified the JDBC URLs and removed the `tcp://` part.
   
   For the `sql` extension tests, 'zero config' for H2 devservices didn't seem to be working properly.
   
   ```
   Datasource '<default>': Database "mem:default" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-210]
   ```
   
   I couldn't test native due to:
   
   ```
   Error: Could not find target method: public static io.quarkus.jdbc.h2.runtime.graal.CompareMode io.quarkus.jdbc.h2.runtime.graal.CompareMode.getInstance(java.lang.String,int,boolean)
   com.oracle.svm.core.util.UserError$UserException: Could not find target method: public static io.quarkus.jdbc.h2.runtime.graal.CompareMode io.quarkus.jdbc.h2.runtime.graal.CompareMode.getInstance(java.lang.String,int,boolean)
   	at com.oracle.svm.core.util.UserError.abort(UserError.java:73)
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.findOriginalMethod(AnnotationSubstitutionProcessor.java:742)
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleMethodInAliasClass(AnnotationSubstitutionProcessor.java:368)
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleAliasClass(AnnotationSubstitutionProcessor.java:340)
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.handleClass(AnnotationSubstitutionProcessor.java:310)
   	at com.oracle.svm.hosted.substitute.AnnotationSubstitutionProcessor.init(AnnotationSubstitutionProcessor.java:266)
   	at com.oracle.svm.hosted.NativeImageGenerator.createDeclarativeSubstitutionProcessor(NativeImageGenerator.java:912)
   	at com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:839)
   	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:527)
   	at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:488)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:403)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:569)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:122)
   	at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:599)
   ```
   
   In general the H2 fundamentals seem to be working ok.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org