🎴 Flashcard Mode
programming languages Online Quiz - 70
Card1 / 20
Mastered0
Review0
QuestionClick to flip
Batch fetching is useful incase of ?
AnswerClick to flip back
A
lazy="true"
💡 Explanation:
Batch fetching is a performance optimization used with lazy loading to avoid the n+1 select problem. When lazy="true", Hibernate can batch multiple lazy initialization requests into a single query. With lazy="false", data is eagerly loaded, making batch fetching unnecessary. Options C and D use invalid attribute values.