Skip to content

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