Skip to content

Conversation

@tgregory-block
Copy link
Collaborator

@tgregory-block tgregory-block commented Dec 22, 2025

Description

JooqModule currently does not permit using any JDBC configuration other than the default JdbcModule. This is a particular problem for services which use Vitess, which are forced to copy most of JdbcModule into their own code so they can install alternative JDBC modules.

This PR adds a bool parameter that prevents JooqModule from installing JdbcModule to support those use cases. The default matches the current behavior, so this change is backwards compatible.

Testing Strategy

Added an integration test exercising jdbcModuleAlreadySetup

Checklist

  • I have reviewed this PR with relevant experts and/or impacted teams.
  • I have added tests to have confidence my changes work as expected.
  • I have a rollout plan that minimizes risks and includes monitoring for potential issues.

Thank you for contributing to Misk! 🎉

Copy link
Collaborator

@adrw adrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@tgregory-block tgregory-block added this pull request to the merge queue Dec 22, 2025
Merged via the queue into master with commit 15ee79d Dec 22, 2025
22 of 23 checks passed
@tgregory-block tgregory-block deleted the tgregory-jooq-module-support-existing-jdbc branch December 22, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants