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 Mon, 26 Aug 2019 12:59: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.M1)
                   4.2.M2

> 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.2.M2
>
>
> 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.2#803003)

Mime
View raw message