cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (Jira)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2610) Align methods in ObjectSelect and SQLSelect
Date Mon, 26 Aug 2019 12:36:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev closed CAY-2610.
--------------------------------
    Resolution: Fixed

https://github.com/apache/cayenne/commit/be23f59f5c371d9eef02eb1550d8fe68d970da1e

> Align methods in ObjectSelect and SQLSelect
> -------------------------------------------
>
>                 Key: CAY-2610
>                 URL: https://issues.apache.org/jira/browse/CAY-2610
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.2.M1
>
>
> Both {{ObjectSelect}} and {{SQLSelect}} have method to get raw {{Object[]}} from DB.
We shoud align naming and signature of such methods. There are three variants now: {{columnQuery()}},
{{scalarQuery()}} and {{arrayQuery()}}. 
> The first one is the closest to what actually these methods do, i.e. selecting some set
of columns from a table, so we can use it.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message