Skip to content

Missing GROUP BYs in keyset pagination queries with blaze 1.6.9 and Hibernate 6.2.7 but not with Hibernate 5 #1774

Answered by beikov
famod asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Falko,

Is it expected that you have to define the fully expanded path of such an embedded id? Does that mean that if you have more than one field in that id wrapper you need to pass all of them to groupBy?

No it's not expected. The EmbeddableSplittingVisitor should actually take care of this, but maybe there is a bug. Would very much appreciate a reproducer :)

I find it a bit irritating that a user defined groupBy is dropped silently like this. I find this very dodgy, but then again I might be missing cases where this behaviour is desirable.

Since I don't see the full query that you are working with, I'm having a hard time understanding where this could go wrong. The user defined g…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@beikov
Comment options

Answer selected by famod
@famod
Comment options

@famod
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants