You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, all lazy properties are initialized together, but this behavior can be customized using @LazyGroup.
If an entity has multiple lazy attributes (including associations with @LazyToOne, but it will probably change), I'd recommend adding explicit @LazyGroup.
Probably the last one of the "lazy" series at the moment, and I admit it's not an everyday use case.
The text was updated successfully, but these errors were encountered:
A simple copy and paste of your conclusion: https://vladmihalcea.com/how-to-lazy-load-entity-properties-with-hibernate.
If an entity has multiple lazy attributes (including associations with
@LazyToOne
, but it will probably change), I'd recommend adding explicit@LazyGroup
.Probably the last one of the "lazy" series at the moment, and I admit it's not an everyday use case.
The text was updated successfully, but these errors were encountered: