英文:
JOOQ: Database version is older than what dialect COCKROACHDB supports: 13.0.0
问题
> 数据库版本低于 COCKROACHDB 支持的版本:13.0.0。
> 请考虑访问 https://www.jooq.org/download/support-matrix 查看 jOOQ 版本和版本支持的 RDBMS 版本。
> 该页面显示,JOOQ 从版本 3.13 开始支持 CockroachDB。
我的理论是,有时候 CockroachDB 会假装成 PostgreSQL,并且为了兼容性,它将自己报告为 PostgreSQL 13。然后,jOOQ 混淆了这些值,将 COCKROACHDB 和版本 13 报告出来,而实际期望的是 22.2 版本。
英文:
We use CockroachDB 22.2 and JOOQ 3.18.2.
In our logs, this message appears:
> Database version is older than what dialect COCKROACHDB supports: 13.0.0.
> Consider https://www.jooq.org/download/support-matrix to see what jOOQ version and edition supports which RDBMS versions.
The page shows that JOOQ supports CockroachDB since 20, since version 3.13.
What the message means then?
My theory is, that somehow, CockroachDB sometimes pretends to be PostgreSQL, and for the compatibility, it reports itself as PostgreSQL 13. But then, JOOQ mixes up the values, and reports COCKROACHDB and version 13, where it expects 22.2.
答案1
得分: 2
从 jOOQ 3.18.4 版本开始,存在一个错误,导致错误报告了此日志消息:#14944。您可以安全地忽略此消息,或通过您的日志配置将其静音,直到修复此错误。
请注意,在将来的 jOOQ 3.19 版本及以后,可以通过通用系统属性来静音此特定的日志消息:
-Dorg.jooq.log.org.jooq.impl.DefaultExecuteContext.logVersionSupport=ERROR
英文:
As of jOOQ 3.18.4, there's a bug where this log message is reported erroneously: #14944. You can safely ignore the message or mute it via your logger configuration until this bug is fixed.
Note that in the future, starting from jOOQ 3.19 and #15050, this particular log message can be muted also via a generic system property:
-Dorg.jooq.log.org.jooq.impl.DefaultExecuteContext.logVersionSupport=ERROR
See also the section about logging system properties in the manual
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论