Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16790 (
https://hibernate.atlassian.net/browse/HHH-16790?atlOrigin=eyJpIjoiNTc2MT...
)
Re: Performance issue when retrieving a large bulk of entity in bidirectionnal association
(
https://hibernate.atlassian.net/browse/HHH-16790?atlOrigin=eyJpIjoiNTc2MT...
)
Thank you everyone that contributed to reporting this issue. We were able to implement a
possible fix that will improve performance drastically when many associations with slower
data types are involved. This improvement will be available in version 6.3.0.
Some performance difference might still be present comparing directly with Hibernate 5,
though, as the way we construct queries, join associations and in general fetch entity
data has changed quite a bit with version 6. One general recommendation to get around this
would be avoiding mapping associations, especially when *to-many* , as FetchType.EAGER and
instead explicitly specify what to fetch for each query or load.
(
https://hibernate.atlassian.net/browse/HHH-16790#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16790#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#100232- sha1:33a7c72 )