Skip to content

Update jOOQ to 3.21.9 - #81

Merged
ThoSap merged 1 commit into
mainfrom
update-jooq-3.21.9
Oct 23, 2026
Merged

ThoSap merged 1 commit into
mainfrom
update-jooq-3.21.9

Conversation

@ThoSap

@ThoSap ThoSap commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

jOOQ
https://github.com/jOOQ/jOOQ/releases/tag/version-3.21.9
https://github.com/jOOQ/jOOQ/releases/tag/version-3.21.8
https://github.com/jOOQ/jOOQ/releases/tag/version-3.21.7
https://github.com/jOOQ/jOOQ/releases/tag/version-3.21.6
https://github.com/jOOQ/jOOQ/releases/tag/version-3.21.5

The five patch releases contain no fix that this operator needs.
Most fixes are for other databases, for R2DBC, for implicit joins, or for the SQL parser, and the operator uses none of them.
The fixes that touch PostgreSQL are for INSERT .. ON CONFLICT (#20034), JSONB converters in MULTISET (#20129) and SERIAL columns in the code generator (#20116).
The operator does not use these features either.

What changed

  1. jOOQ and the jOOQ code generation plugin go from 3.21.4 to 3.21.9.
  2. The generated sources are generated again. In all 27 files, the @Generated annotation now shows jOOQ version:3.21.9.
  3. PgRoles and PgRolesRecord now have the JSpecify annotations. This change does not come from jOOQ 3.21.9. Enhance the NullAway configuration #68 enabled @NonNull and @Nullable in the generated code and regenerated the sources, but Reconcile Role resources with a non-superuser admin such as the master user of managed PostgreSQL cloud services #71 added pg_roles at a later time. Thus these two files never got the annotations. All getters and setters of PgRolesRecord are now @Nullable, because pg_roles is a view and PostgreSQL reports every column of a view as nullable. The operator code compiles with these annotations, and NullAway reports no errors.

Tests

  • ./gradlew :generated:jooqCodegen against the PostgreSQL Dev Service of quarkusDev.
  • ./gradlew compileJava compileTestJava passes with Error Prone and NullAway.
  • ./gradlew test: 179 tests pass, 0 fail. 2 tests are skipped, because they run only on PostgreSQL versions older than 17.

The regeneration also adds the JSpecify annotations to pg_roles. #68
regenerated the sources before #71 added pg_roles, so these two files
never got them.

Assisted-by: Claude:claude-opus-5-5
@ThoSap ThoSap self-assigned this Oct 23, 2026
@ThoSap
ThoSap merged commit 2a13544 into main Oct 23, 2026
4 checks passed
@ThoSap
ThoSap deleted the update-jooq-3.21.9 branch October 23, 2026 22:02
@ThoSap ThoSap added the enhancement New feature or request label Oct 23, 2026
@ThoSap

ThoSap commented Oct 24, 2026

Copy link
Copy Markdown
Member Author

Dependency diff

./gradlew :operator:dependencies --configuration runtimeClasspath, before this PR (68398be) and with this PR (2a13544):

--- a/runtimeClasspath (68398be)
+++ b/runtimeClasspath (2a13544)
@@ -701,11 +701,11 @@
 |    |    \--- com.fasterxml.jackson:jackson-bom:2.21.2 (*)
 |    +--- io.fabric8:generator-annotations:7.6.1
 |    \--- io.fabric8:kubernetes-model-common:7.6.1 (*)
-+--- org.jooq:jooq:3.21.4
++--- org.jooq:jooq:3.21.9
 |    \--- io.r2dbc:r2dbc-spi:1.0.0.RELEASE
 |         \--- org.reactivestreams:reactive-streams:1.0.3 -> 1.0.4
 +--- project :generated
-|    +--- org.jooq:jooq:3.21.4 (*)
+|    +--- org.jooq:jooq:3.21.9 (*)
 |    +--- io.quarkus.platform:quarkus-bom:{strictly 3.35.3} -> 3.35.3 (*)
 |    \--- io.quarkus.platform:quarkus-operator-sdk-bom:{strictly 3.35.3} -> 3.35.3 (*)
 +--- org.jspecify:jspecify:1.0.0

jOOQ goes from 3.21.4 to 3.21.9. No other dependency changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant