what is the default value in hibernate ?
-
a) lazy=false;
-
b) lazy=true;
-
c) lazy=yes;
-
d) lazy=no;
B
Correct answer
Explanation
In Hibernate, lazy loading is enabled by default (lazy=true) for associations and collections to optimize performance by avoiding loading related entities until they are explicitly accessed.