-
Hi, as far as I understand from the EntityView documentation, the DTO creation always uses JOINs underneath. I can see this avoids the n+1 select problem, but are not we now exposed to Cartesian Product problem? Is there a way to use separate selects for some parts while constructing the DTOs? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, yeah you can switch the fetch strategy as outlined in the documentation: https://persistence.blazebit.com/documentation/entity-view/manual/en_US/index.html#anchor-fetch-strategies Usually, the |
Beta Was this translation helpful? Give feedback.
Hi,
yeah you can switch the fetch strategy as outlined in the documentation: https://persistence.blazebit.com/documentation/entity-view/manual/en_US/index.html#anchor-fetch-strategies
Usually, the
MULTISET
fetch strategy is the one that performs best, but there might be reasons why it can't be used.