Replies: 1 comment 6 replies
-
Definitely Criteria API which is using the query model to build the query. After that we can even add the support for it in the method finders |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like GROUP BY and HAVING support is one of the things missing from the library. There's some references to it in the Criteria API implementations with notSupportedOperations and in the QueryModel GroupPropertyProjections.
I'm considering what the API for this would look like. There could be an implementation using just the Criteria API, or perhaps something similar to Sort which controls order by? Or perhaps an Annotation similar to @where?
A similar interesting addition to this would be to add Maps as possible return types, where the keys are the group by fields, and the values are some sort of projection.
Beta Was this translation helpful? Give feedback.
All reactions