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/02 08:14:00 UTC

[jira] [Commented] (CAY-2378) Switch usage of SelectQuery to ObjectSelect internally

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

Nikita Timofeev commented on CAY-2378:
--------------------------------------

{{cayenne-server}} is clean now [1], remaining references could be removed only when {{SelectQuery}} will be deleted.

There are still usages in {{cayenne-client}} and {{cayenne-wocompat}} modules.

[1] https://github.com/apache/cayenne/commit/281f674f34a15558cb908e7e8225027531032aa2

> Switch usage of SelectQuery to ObjectSelect internally
> ------------------------------------------------------
>
>                 Key: CAY-2378
>                 URL: https://issues.apache.org/jira/browse/CAY-2378
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.M2
>
>
> Recommended select query since 4.0 is {{ObjectSelect}}, that is converted internally to {{SelectQuery}}.
> We can gain some performance and maintainability by inverting this, i.e. using {{ObjectSelect}} directly in Cayenne stack and converting {{SelectQuery}} to it.
> Important note: this should not affect any public API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)