开发者

what is the difference between Hibernate.initialize and eager fetching

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜