多态查询和笛卡尔积

Polymorphic Query and Cartesian Product

在 Hibernate 用户指南中,example "Example 182. Join Table polymorphic query" 处有一条注释

Polymorphic queries can create Cartesian Products, so caution is advised.

有人可以解释笛卡尔积在这样的用例中是如何发生的吗?

这不是正确的说法。我创建了 HHH-11175 Jira 问题,我将修复它。

我要将该短语更改为:

The joined table inheritance polymorphic queries can use several JOINS which might affect performance when fetching a large number of entities.