You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2020/10/09 18:22:00 UTC
[jira] [Closed] (CAY-2683) Don't use DISTINCT for joins on to-one
related tables
[ https://issues.apache.org/jira/browse/CAY-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2683.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/commit/d5dde6af44489ce8de7fca136eba1db358e073db
> Don't use DISTINCT for joins on to-one related tables
> -----------------------------------------------------
>
> Key: CAY-2683
> URL: https://issues.apache.org/jira/browse/CAY-2683
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Affects Versions: 4.2.M1, 4.2.M2
> Reporter: Nikita Timofeev
> Assignee: Nikita Timofeev
> Priority: Minor
> Fix For: 4.2.M3
>
>
> New {{SelectTranslator}} introduced in CAY-2465 uses {{DISTINCT}} by default for all queries that have at least one join. This could lead to some performance issues. Moreover, this logic differs from the old translator.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)