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-2481) Support for Object[] as return type in SQLTemplate and SQLExec
Date Mon, 05 Nov 2018 14:28:01 GMT

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

Nikita Timofeev closed CAY-2481.
--------------------------------
    Resolution: Fixed
      Assignee: Nikita Timofeev

> Support for Object[] as return type in SQLTemplate and SQLExec
> --------------------------------------------------------------
>
>                 Key: CAY-2481
>                 URL: https://issues.apache.org/jira/browse/CAY-2481
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Arseni Bulatski
>            Assignee: Nikita Timofeev
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLSelect perform with predefined
types.
> Example:
> List<Object[]> result = SQLSelect.scalarQuery("SELECT PAINTING_ID, PAINTING_TITLE,
ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message