Skip to content

[6.6] HHH-19331: query plan cache should take parameter type into accound for cast #10183

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

Draft
wants to merge 1 commit into
base: 6.6
Choose a base branch
from

Conversation

victornoel
Copy link
Contributor

@victornoel victornoel commented May 20, 2025

Backport of #10182 for 6.6.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19331

@victornoel victornoel changed the title HHH-19331: query plan cache should take parameter type into accound for cast [6.6] HHH-19331: query plan cache should take parameter type into accound for cast May 20, 2025
@victornoel victornoel marked this pull request as draft May 22, 2025 15:29
@victornoel
Copy link
Contributor Author

Making this a draft based on the discussion in Zulip and the fact that

  • this is really corner case (it ONLY applies to those "select ?1" kind of query where the hibernate parser cannot infer the expected type of the parameter)
  • it should be improved even if we went forward

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.

1 participant