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也没有解决这个问题,从而表明我们不应该在查询中通过预先抓取来获得二级缓存中的对象。
This quick "solution" has one problem: It's really no solution at all.
这种快速“解决方案”有一个问题:那就是它根本没有解决任何问题。
No one in the industry has come up with a solution yet.
业内人士尚未想到解决方案。
应用推荐