what is the default value in hibernate ?
-
lazy=false;
-
lazy=true;
-
lazy=yes;
-
lazy=no;
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.