Hello Thank you for your reply. If my test case does not represent valid behaviour then I’m happy for this issue to be closed. I do feel it is inconsistent given that:
- It did work in hibernate-core 5.6.15.Final - for an example see: https://github.com/s-webber/hibernate-test-case-orm-5-subselect-unknown-table-reference
- It continues to work in hibernate-core 6.1.7.Final if I alter TableOneEntity to use FetchMode.SELECT instead of FetchMode.SUBSELECT.
|