Why I can't use EAGER fetching for the same purpose
+1
A:
You can use EAGER fetching to obtain the same result, at the end. But this means things will be always eagerly loaded (vs when you just need to). Is this what you want?
References
- Hibernate Core Reference Guide
Pascal Thivent
2010-10-01 05:56:37
Does EAGER fetch get the data immediately vs when accessed?
2010-10-01 13:16:12
@user319694 Yes, that's the principle of EAGER (vs LAZY).
Pascal Thivent
2010-10-02 16:31:38