开发者

what is the difference between Hibernate.initialize and eager fetching

开发者 https://www.devze.com 2023-01-18 03:08 出处:网络
Wh开发者_运维知识库y I can\'t use EAGER fetching for the same purposeYou can use EAGER fetching to obtain the same result, at the end. But this means things will be always eagerly loaded (vs when you

Wh开发者_运维知识库y I can't use EAGER fetching for the same purpose


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
    • 20.1.4. Initializing collections and proxies
0

精彩评论

暂无评论...
验证码 换一张
取 消