Multiple choice technology programming languages

what is the default value in hibernate ?

  1. lazy=false;

  2. lazy=true;

  3. lazy=yes;

  4. lazy=no;

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

In Hibernate 3 and newer versions, lazy initialization (lazy=true) is the default fetching strategy for associations and collections to optimize performance by avoiding loading unneeded related objects. Other options are syntax errors.