Specifying FetchType.LAZY for the non-owning side of the @OneToOne association will not affect the loading. The related entity will still be loaded as if the FetchType.EAGER is defined.
Last modified: 03 December 2024 Checks for the non-owning side of the @OneToOne
associations with the FetchType.Lazy
attribute. Specifying FetchType.LAZY
for the non-owning side of the @OneToOne
association will not affect the loading. The related entity will still be loaded as if the FetchType.EAGER
is defined. For more info see the documentation.