cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2141) Disjoint-by-id prefetch generates repeating ID conditions
Date Sun, 27 Nov 2016 14:26:58 GMT

    [ https://issues.apache.org/jira/browse/CAY-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15699772#comment-15699772
] 

Andrus Adamchik commented on CAY-2141:
--------------------------------------

Applied pull request. While Set<List<Object>> is probably not a super-fast data
structure, I guess the resulting clean and simpler SQL is still worth it. Also it should optimize
the case when we break down a long OR qualifier into multiple queries (there will be fewer
queries with this optimization).

> Disjoint-by-id prefetch generates repeating ID conditions
> ---------------------------------------------------------
>
>                 Key: CAY-2141
>                 URL: https://issues.apache.org/jira/browse/CAY-2141
>             Project: Cayenne
>          Issue Type: Bug
>         Environment: version 3.2.M1 . Probably still present in 4.0.M4 pre-release
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>
> There was a user report [1] that disjoint-by-id prefetch on a simple to-one relationship
generates condition with repeating IDs. Need to investigate, and perhaps normalize the qualifier.
> [1] https://lists.apache.org/list.html?user@cayenne.apache.org



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message