Multiple choice technology programming languages

batch fetching is useful incase of ?

  1. a) lazy="true"

  2. b) lazy="false"

  3. c) lazy="on"

  4. d) lazy="off"

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Batch fetching in Hibernate is specifically useful when lazy loading is enabled (lazy="true"). It allows Hibernate to load multiple lazy associations in batches rather than one at a time, reducing the number of database queries and improving performance.