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/27 11:33:43 UTC
[GitHub] [camel-quarkus] ppalaga opened a new issue #3498: Upgrade to H2 2.x
ppalaga opened a new issue #3498:
URL: https://github.com/apache/camel-quarkus/issues/3498
@gsmet asked us through various channels to try how well we can live with H2 2.x. They'd like to upgrade in Quarkus 2.8
We need to try the newest 2.x release https://mvnrepository.com/artifact/com.h2database/h2
--
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
[GitHub] [camel-quarkus] gsmet commented on issue #3498: Upgrade to H2 2.x
Posted by GitBox <gi...@apache.org>.
gsmet commented on issue #3498:
URL: https://github.com/apache/camel-quarkus/issues/3498#issuecomment-1023123882
Just to be clear: it's a coordinated effort, we don't want it to become a problem. So let's evaluate and see what needs fixing and then let's discuss it.
--
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
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3498: Upgrade to H2 2.x
Posted by GitBox <gi...@apache.org>.
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