Skip to content

Conversation

@gavinking
Copy link
Member

@gavinking gavinking commented Nov 30, 2025

This set of changes:

  1. fixes some broken generic typing
  2. does some validation earlier, for (hopefully) better messages
  3. allows "reasonable" type conversions, i.e. the ones we have defined in the JavaTypes.

The only doubt I have about this is that perhaps some of the "reasonable" conversions are a bit too forgiving.


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.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Nov 30, 2025

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [914dd25, 55df589, 8c21efd, 8c3c336, 9b43725]

› This message was automatically generated.

@gavinking gavinking force-pushed the query-parameter-types branch from 9905897 to 9b43725 Compare December 1, 2025 09:32
@gavinking gavinking changed the title fully type check arguments to query parameters before sending them to database different approach to type checking arguments to query parameters Dec 1, 2025
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