Yoann Rodière (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16219 (
https://hibernate.atlassian.net/browse/HHH-16219?atlOrigin=eyJpIjoiOTgwYm...
)
Re: Lazy loading of association involving loading of other, eager associations leads to
unwanted loading beyond max_fetch_depth (
https://hibernate.atlassian.net/browse/HHH-16219?atlOrigin=eyJpIjoiOTgwYm...
)
Note that while the (simplified) example above doesn’t look too bad, it gets way worse as
you add more associations. With 8 associations you get ~64 joins, which critically will
get MariaDB/MySQL to reject the SQL as they only support up to 61 joins… understandably.
(
https://hibernate.atlassian.net/browse/HHH-16219#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16219#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#100216- sha1:64a4cf6 )