Hibernate has no solution for the above issue. This in turn indicates that we should never use eager fetching in our query for second-level cached objects.
这就说明Hibernate也没有解决这个问题,从而表明我们不应该在查询中通过预先抓取来获得二级缓存中的对象。
On the other hand using Eager-fetching has the following disadvantages.
但另一方面,使用预先抓取也存在如下弊端
On the other hand using Eager-fetching has the following disadvantages.
但另一方面,使用预先抓取也存在如下弊端
应用推荐