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.