Skip to content
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

Fix hibernate count native query #3244

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

radovanradic
Copy link
Contributor

Fix for #3242

@@ -449,6 +449,8 @@ private void processMethodInfo(MethodMatchContext methodMatchContext, MethodMatc
}

builder.member(AnnotationMetadata.VALUE_MEMBER, query);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to populate nativeQuery annotation value later being checked in DefaultStoredQuery.

@radovanradic radovanradic added the type: bug Something isn't working label Nov 25, 2024
@radovanradic radovanradic linked an issue Nov 25, 2024 that may be closed by this pull request
@radovanradic radovanradic merged commit 1352324 into 4.10.x Nov 25, 2024
53 checks passed
@radovanradic radovanradic deleted the native-query-hibernate branch November 25, 2024 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

countQuery expecting HQL while using nativeQuery = true
2 participants