Fetching association and using implicit path in condition fails

Description

A query like the following

fails because the FK key part is used instead of the target part for the association implicit path. It fails with:

Activity

Show:

Sven Strickroth December 8, 2022 at 10:17 AM

THis is probably the same issue as , but in a following order clause the PK is not used any more with Hibernate >= 6.

Thomas Heigl October 31, 2022 at 4:58 PM

My test passes with your fix!

Christian Beikov October 31, 2022 at 4:37 PM

Hi Thomas! Can you try the fix from and tell me if that works for you?

Thomas Heigl October 31, 2022 at 4:33 PM

This is probably the same issue as

Fixed

Assignee

Christian Beikov

Reporter

Components

Fix versions

Affects versions

Priority

Created October 31, 2022 at 3:05 PM
Updated December 8, 2022 at 10:17 AM
Resolved November 2, 2022 at 10:54 AM
Loading...