Multiple choice technology programming languages

What does the attribute "batch-size" of the tag specify?

  1. batch size for fetching instances

  2. batch size for fetching instances by identifier

  3. both

  4. none

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

The batch-size attribute specifies the batch size for fetching instances by identifier. This allows Hibernate to load multiple instances in a single batch when retrieving them by ID, improving performance.