Skip to content

Conversation

@gavinking
Copy link
Member

[Please describe here what your change is about]


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 Dec 9, 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: [63c7fd7, a6108b3]

› This message was automatically generated.

Collection<?> values,
@SuppressWarnings("deprecation")
TemporalType temporalTypePrecision,
TypeConfiguration typeConfiguration);

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'typeConfiguration' is never used.
if ( !isInstance( parameterType, value,
factory.getQueryEngine().getCriteriaBuilder() ) ) {
throw new QueryArgumentException( "Argument did not match parameter type",
private static @NonNull QueryArgumentException queryArgumentException(

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method QueryParameterBindingValidator.queryArgumentException(..) could be confused with overloaded method
queryArgumentException
, since dispatch depends on static types.

private static void validateArrayValuedParameterBinding(Class<?> parameterType, Object value) {
private static void validateArrayValuedParameterBinding(
Class<?> parameterType, Object value, QueryParameter<?> parameter) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'parameter' is never used.
@gavinking gavinking marked this pull request as ready for review December 9, 2025 22:53
@gavinking gavinking merged commit 0722f2c into hibernate:main Dec 9, 2025
24 of 27 checks passed
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