jooqx
jooqx copied to clipboard
Support jooq 3.19.*
Is your feature request related to a problem? Please describe. Do you have any plan to support jooq 3.19.*? I have a try, but Caused by: java.lang.NoSuchMethodError: 'org.jooq.Converter org.jooq.Field.getConverter()'.
Thank you for your report. Let me try my best to get back to you as soon as possible. I assumed you're using v2.0.0-rc1
Hi @yueliangwen I cannot reproduce your error. I thought there were some dependency conflicts, please make sure you override Vert.x and jOOQ version in your build descriptor (pom.xml or gradle.build)
I closed this ticket, however, if anything is unclear, please leave a message. Thanks
Steps to Reproduce:
1、Download the jooqx.tar.gz
2、Configure the PostgreSQL instance
3、Read the README.adoc, ./gradlew clean run
4、curl http://localhost:8888/dump, you will see the problem.
Change the jooq version to 3.17.21, there's no problem.
thank you for the reproduction. That helps me a lot to detect a reason:
since jooq
>= 3.17
uses java 17 as the default. Not pretty sure why [email protected] is still fine, but jooq >= 3.18.x raises an error. Somehow, jooqx
is not compatible anymore with jooq
when running java 17, which leads to NoSuchMethodError
at runtime.
I reproduced it by unit-test that already re-compiled jooqx on java17, then the error didn't happen
I will find a time this week to make a release to make jooqx lib compatible in java17+
Hi @yueliangwen
Could you pls try jooqx version 2.0.0-rc.1:jdk17
?
Unfortunately, something's weird in gradle build, then I cannot keep the previous rc version.
implementation("io.github.zero88:jooqx:2.0.0-rc.1:jdk17")
implementation("io.github.zero88:jooqx-spi:2.0.0-rc.1:jdk17")
That is a matrix version
jooqx | jooq | jdk |
---|---|---|
2.0.0-rc1 | < 3.18 | any |
2.0.0-rc.1:jdk17 | >= 3.18 | jdk17+ |
I will upgrade to jdk17 as default in the next release.
Thank you for your patience!!!
Hi @zero88 I rerun some simple examples, it works well. Thanks for your great job.