AssertionError when sorting by fields of joined entity

Description

With entities mapped like this:

 

when you try to execute following query:

 

Hibernate throws:

This example worked in 6.2.5.Final

Attachments

1

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.

Fixed

Details

Assignee

Reporter

Worked in

Components

Sprint

Fix versions

Affects versions

Priority

Created July 12, 2023 at 8:47 AM
Updated July 20, 2023 at 6:50 PM
Resolved July 18, 2023 at 9:47 AM