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] [Updated] (CAY-2483) Method to return Object[] with entity after SQLTemplate or SQLSelect perform
Date Wed, 24 Feb 2021 09:51:00 GMT

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

Nikita Timofeev updated CAY-2483:
---------------------------------
    Fix Version/s:     (was: 4.2.M3)
                   4.3.M1

> Method to return Object[] with entity after SQLTemplate or SQLSelect perform
> ----------------------------------------------------------------------------
>
>                 Key: CAY-2483
>                 URL: https://issues.apache.org/jira/browse/CAY-2483
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Arseni Bulatski
>            Priority: Major
>             Fix For: 4.3.M1
>
>
> Add methods to return Object[] with entity after SQLTemplate or SQLSelect perform.
> Example :
> List<Object[]> result = SQLSelect.scalarQuery("SELECT #result(p, 'Painting'), ARTIST.NAME
FROM PAINTING AS p INNER JOIN ARTIST ON p.ARTIST_ID=ARTIST.ID", Paintng.class, String.class)
>  .select(context);
>  
>  



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

Mime
View raw message