If we use fetching strategy as "join", a single join query is fired (combining parent and children through one join query) and the default behavior is equivalent to lazy="false". This means that all the children records would be fetched for the parent at once. But, what would be the behavior, if we mark lazy="true"? Since the join query is single, what would be lazily fetched?
FetchMode Join overrides the lazy property. It will simple be ignored. Should you be interested in a detailed explanation about Fetchmodes, take a look here. The article describes the Hibernate fetchmodes and the output which they produce.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With