Batch fetching is useful incase of ?
-
lazy="true"
-
lazy="false"
-
lazy="on"
-
lazy="off"
A
Correct answer
Explanation
Batch fetching is an optimization strategy to reduce the number of SELECT queries (solving the N+1 selects problem) specifically when lazy loading (lazy="true") is enabled. If lazy loading is disabled (lazy="false"), entities are fetched eagerly, rendering batch fetching irrelevant. Options with 'on' and 'off' are invalid syntax.