Marcel (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNDg2NDM4MjE3...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16905?atlOrigin=eyJpIjoiNDg2ND...
) HHH-16905 (
https://hibernate.atlassian.net/browse/HHH-16905?atlOrigin=eyJpIjoiNDg2ND...
) Since 6.2.6 criteria query with nested fetches do not fetch some entities any more (
https://hibernate.atlassian.net/browse/HHH-16905?atlOrigin=eyJpIjoiNDg2ND...
)
Change By: Marcel (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=712020%...
)
We have one entity with some nested entities. We fetch all of them via criteria api within
one transaction. After reading, we process these entities outside the trancation. Since
6.2.6 the resulting select does not contain all requested joins, an the relations are not
fetched. So we run into an “no session” error. I will provide an
A testcase for reproducing this issue ist provided via pull request. Just comment in the
lines forcing the test to fail in 6.2.6.
(
https://hibernate.atlassian.net/browse/HHH-16905#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16905#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#100231- sha1:4aa4aa3 )