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 later, lazy loading is enabled by default (lazy="true") for collections and associations to optimize application performance and prevent loading unnecessary data from the database. The alternatives like lazy=false are not default settings, and options using 'yes' or 'no' are syntactically invalid.