I think this might have been fixed by https://hibernate.atlassian.net/browse/HHH-16657 or https://hibernate.atlassian.net/browse/HHH-16658 as I can’t reproduce this anymore with 6.2.4.