Skip to content

jdbi3: converts to StatementLogger and follows existing style #1464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2025

Conversation

codefromthecrypt
Copy link
Member

This converts jdbi3 instrumentation to be more like MongoDB in implementation: configured by instance, not static like mysql connection driver. It also pares back the data policy to be the same as MySQL: this allows us a base case to move forward with. Finally, it switches implementation to a StatementLogger, so that exceptions are visible.

Infrastructure wise, this re-uses the more recent style from instrumentation here, including docker for the IT.

This is a follow-up to #1460 before we release a version, so API breaks are not an issue, yet.

Thanks to @reftel for the initial work on this, and @reta on the review of that. I did my best in RATIONALE.md here to explain why the changes are important.

@codefromthecrypt codefromthecrypt requested review from anuraaga and reta May 28, 2025 03:38
Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt codefromthecrypt merged commit e18172c into master May 28, 2025
4 checks passed
@codefromthecrypt codefromthecrypt deleted the jdbi3 branch May 28, 2025 04:46
@codefromthecrypt
Copy link
Member Author

@reta if you don't mind, please handle any follow-ups and/or cut the next brave when ready.!

@reta
Copy link
Contributor

reta commented May 28, 2025

@reta if you don't mind, please handle any follow-ups and/or cut the next brave when ready.!

Will do, thanks a lot @codefromthecrypt !

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