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
Avoid dialect version lookup in AbstractDatabase, if unnecessary #14764
Comments
I'm not sure if this is related to this issue, but I have a unit test that uses a MockConnection/MockProvider that now logs a stack trace:
when doing:
It started doing it after I moved from 3.16.14 to 3.16.15 but still shows it on 3.16.16. Would it make sense to also not query version for mock connections? |
Thanks, @djarnis73. can you please create a new issue? |
Nevermind, I've seen that github now has a new feature to turn a comment into an issue: #14833 |
jOOQ 3.14 introduced an automatic dialect version lookup in
AbstractDatabase
to override the default: #9834This may be unnecessary:
Some dialects may be potentially slow to look up versions, e.g. Trino has a bug here:
Producing:
The text was updated successfully, but these errors were encountered: