Steve Webber (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=63f359a...
) *commented* on HHH-16212 (
https://hibernate.atlassian.net/browse/HHH-16212?atlOrigin=eyJpIjoiZWU3N2...
)
Re: UnknownTableReferenceException with one-to-many relationship mapped by another entity
(
https://hibernate.atlassian.net/browse/HHH-16212?atlOrigin=eyJpIjoiZWU3N2...
)
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-t... (
https://github.com/s-webber/hibernate-test-case-orm-5-subselect-unknown-t... )
* It continues to work in hibernate-core 6.1.7.Final if I alter TableOneEntity to use
FetchMode.SELECT instead of FetchMode.SUBSELECT.
(
https://hibernate.atlassian.net/browse/HHH-16212#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16212#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:45db922 )