Skip to content

Conversation

@gavinking
Copy link
Member

@gavinking gavinking commented May 10, 2025

[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.


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

@gavinking
Copy link
Member Author

@sebersole This look reasonable to you?

getTypeConfiguration().getBasicTypeRegistry().resolve( typeReference );
if ( basicType == null ) {
throw new IllegalArgumentException( "Could not resolve a BasicType for the java type: " + typeReference.getName() );
public ProcedureCall markAsFunctionCall(BindableType<?> typeReference) {

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method ProcedureCallImpl.markAsFunctionCall(..) could be confused with overloaded method
markAsFunctionCall
, since dispatch depends on static types.
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented May 10, 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: [610afca, a3755a8, ac248ee]

› This message was automatically generated.

gavinking added 2 commits May 10, 2025 11:59
but mark it @Incubating, because it's very unclear we even need this interface
}
else {
//noinspection resource
markAsFunctionCall( Integer.parseInt( value.toString() ) );

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
@gavinking gavinking merged commit 0280f48 into hibernate:main May 10, 2025
23 of 25 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