AssertionError when sorting by fields of joined entity
Description
Attachments
1
relates to
Activity
Show:
Marco Belladelli July 14, 2023 at 8:33 AM
Hi , thanks for reporting the issue.
noticed this issue was similar to , and asked me to take a look at it. I confirmed that the cause of the problems seems to be the same, and happening when copying criteria associations inside an identifier.
I will add your test case to the fix I’m working on to validate this works too.
With entities mapped like this:
when you try to execute following query:
Hibernate throws:
This example worked in 6.2.5.Final